diff --git a/hypgraph.cpp b/hypgraph.cpp index 4e26b5ad..f2f1411e 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1011,7 +1011,7 @@ EX bool invalid_matrix(const transmatrix T) { if(std::isnan(T[i][j]) || T[i][j] > 1e8 || T[i][j] < -1e8 || std::isinf(T[i][j])) return true; if(prod) { - for(int i=0; i 1e-6) return false; + for(int i=0; i 1e-60) return false; } else for(int i=0; i .5 || T[i][j] < -.5) return false;