diff options
author | Thomas White <taw@physics.org> | 2009-11-27 17:44:50 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-27 17:44:50 +0100 |
commit | b9773759c48024603903703eb891b2850e5f95a9 (patch) | |
tree | 1e7e3f5ac1a91deec3e01f221f6eaaf5bc42878c | |
parent | 1e9344a025ac2fc17a0190b75001c054e6d11fd3 (diff) |
D'oh
-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; } |