EMGrank + typo
[valse.git] / src / test / generate_test_data / helpers / checkOutput.R
index 187536a..ae2fbdf 100644 (file)
@@ -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")
        }
 }