Skip to content

Commit

Permalink
vstudio: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Jan 30, 2019
1 parent 6a51875 commit 605ff82
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cpuminer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
<ClCompile Include="algo\luffa.c" />
<ClCompile Include="algo\lyra2re.c" />
<ClCompile Include="algo\lyra2rev2.c" />
<ClCompile Include="algo\lyra2rev3.c" />
<ClCompile Include="algo\lyra2v3.c" />
<ClCompile Include="algo\myr-groestl.c" />
<ClCompile Include="algo\neoscrypt.c" />
<ClCompile Include="algo\nist5.c" />
Expand Down
16 changes: 8 additions & 8 deletions lyra2/Lyra2.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ int LYRA2(void *K, int64_t kLen, const void *pwd, int32_t pwdlen, const void *sa

//Checks if all rows in the window where visited.
if (rowa == 0) {
step = window + gap; //changes the step: approximately doubles its value
window *= 2; //doubles the size of the re-visitation window
gap = -gap; //inverts the modifier to the step
}
step = window + gap; //changes the step: approximately doubles its value
window *= 2; //doubles the size of the re-visitation window
gap = -gap; //inverts the modifier to the step
}

} while (row < nRows);
//==========================================================================/
Expand Down Expand Up @@ -333,10 +333,10 @@ int LYRA2_3(void *K, int64_t kLen, const void *pwd, int32_t pwdlen, const void *

//Checks if all rows in the window where visited.
if (rowa == 0) {
step = window + gap; //changes the step: approximately doubles its value
window *= 2; //doubles the size of the re-visitation window
gap = -gap; //inverts the modifier to the step
}
step = window + gap; //changes the step: approximately doubles its value
window *= 2; //doubles the size of the re-visitation window
gap = -gap; //inverts the modifier to the step
}

} while (row < nRows);
//==========================================================================/
Expand Down

0 comments on commit 605ff82

Please sign in to comment.