projects
/
valse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
EMGrank + typo
[valse.git]
/
src
/
test
/
generate_test_data
/
helpers
/
checkOutput.R
diff --git
a/src/test/generate_test_data/helpers/checkOutput.R
b/src/test/generate_test_data/helpers/checkOutput.R
index
187536a
..
ae2fbdf
100644
(file)
--- a/
src/test/generate_test_data/helpers/checkOutput.R
+++ b/
src/test/generate_test_data/helpers/checkOutput.R
@@
-2,11
+2,9
@@
checkOutput = function(varName, array, refArray, tol)
{
print(paste("Checking ",varName,sep=""))
maxError = max(abs(array - refArray))
- if(maxError >= tol)
- {
+ if(maxError >= tol){
print(paste("Inaccuracy: max(abs(error)) = ",maxError," >= ",tol,sep=""))
- } else
- {
+ } else{
print("OK")
}
}