From 93c54e315a109ce2b8891b5d485f7bea63d348b0 Mon Sep 17 00:00:00 2001 From: Chris Teubert Date: Wed, 29 Apr 2015 16:26:24 -0700 Subject: [PATCH] Compare 2d array --- TestScripts/C Tests/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestScripts/C Tests/main.c b/TestScripts/C Tests/main.c index 32ec81d..983e7ef 100644 --- a/TestScripts/C Tests/main.c +++ b/TestScripts/C Tests/main.c @@ -599,7 +599,7 @@ int psendPOSITest() // sendPOSI test { // Note: Because the sim was paused when both of these were read, we really do expect *exactly* // the same value even though we are comparing floats. - if (data[i][0] != loc[i]) + if (data[i][0] != loc[i][0]) { return -i - 21; }