Diff of /src/hugin1/hugin/CPImageCtrl.cpp [4eed9a] .. [4f7bc4] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin1/hugin/CPImageCtrl.cpp
+++ b/src/hugin1/hugin/CPImageCtrl.cpp
@@ -960,7 +960,7 @@
 // todo: use the functions in the math functions files
 double CPImageCtrl::determinant(double a, double b, double c, double d, double e, double f, double g, double h, double i)
 {
-    return a*e*i + b*f*g + c*d*h - a*f*h - c*d*i - b*e*g;
+    return a*e*i + b*f*g + c*d*h - a*f*h - b*d*i - c*e*g;
 }
 
 bool CPImageCtrl::isCollinear(StraightLine l)