aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-27 17:44:50 +0100
committerThomas White <taw@physics.org>2009-11-27 17:44:50 +0100
commitb9773759c48024603903703eb891b2850e5f95a9 (patch)
tree1e7e3f5ac1a91deec3e01f221f6eaaf5bc42878c
parent1e9344a025ac2fc17a0190b75001c054e6d11fd3 (diff)
D'oh
-rw-r--r--src/pattern_sim.c2
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;
}