OSDN Git Service
(root)
/
mhash384
/
mhash384.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074b358
)
Small tweak.
author
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 7 Oct 2017 08:59:37 +0000
(10:59 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 7 Oct 2017 08:59:37 +0000
(10:59 +0200)
tools/GenTables/src/gen_table_xor_v2.c
patch
|
blob
|
history
diff --git
a/tools/GenTables/src/gen_table_xor_v2.c
b/tools/GenTables/src/gen_table_xor_v2.c
index
67ab362
..
ffa2964
100644
(file)
--- a/
tools/GenTables/src/gen_table_xor_v2.c
+++ b/
tools/GenTables/src/gen_table_xor_v2.c
@@
-182,7
+182,7
@@
typedef struct
thread_data_t;
#define CHECK_SUCCESS(ERR_CURR,ERR_INIT,THRESHLD) \
- (((ERR_CURR) < (ERR_INIT)) && (((ERR_
CURR) < (THRESHLD)) || ((ERR_INIT) - (ERR_CURR) >= (THRESHLD
))))
+ (((ERR_CURR) < (ERR_INIT)) && (((ERR_
INIT) - (ERR_CURR) >= (THRESHLD)) || (!(ERR_CURR
))))
#define CHECK_TERMINATION() do \
{ \