diff options
-rw-r--r-- | src/pattern_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index f449b9c1..3f3d93ea 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -209,7 +209,7 @@ int main(int argc, char *argv[]) image.orientation = read_quaternion(); } - if ( quaternion_valid(image.orientation) ) { + if ( !quaternion_valid(image.orientation) ) { ERROR("Orientation modulus is not zero!\n"); return 1; } |