git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Actually add the Quadtree coordinate code
[ipdf/code.git]
/
src
/
tests
/
realops.cpp
diff --git
a/src/tests/realops.cpp
b/src/tests/realops.cpp
index
83a5241
..
b9ce441
100644
(file)
--- a/
src/tests/realops.cpp
+++ b/
src/tests/realops.cpp
@@
-10,7
+10,7
@@
static double g_totalerror = 0;
bool NotEqual(double a, double b, double threshold=1e-1)
{
- double error =
(fabs(a-b) > threshold
);
+ double error =
fabs(a-b
);
g_totalerror += error;
return (error > threshold);
}
UCC
git Repository :: git.ucc.asn.au