Commit 35763853 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

bugfix

parent 8d4f866c
......@@ -343,7 +343,7 @@ public class TasCalc
if(Math.abs(M[i][j]) < Double.MIN_VALUE)
continue;
double sgn = ((i+j % 2) == 0) ? 1. : -1.;
double sgn = (((i+j) % 2) == 0) ? 1. : -1.;
d += sgn * M[i][j] * det(submat(M, i,j));
}
......@@ -520,7 +520,7 @@ public class TasCalc
}
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment