Diff of /src/modules/bugs/functions/Inverse.cc [01a998] .. [081fbe]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/bugs/functions/Inverse.cc
+++ b/src/modules/bugs/functions/Inverse.cc
@@ -21,7 +21,7 @@
     bool 
     Inverse::checkParameterDim (vector<vector<unsigned int> > const &dims) const
     {
-	return isSquareMatrix(dims[0]);
+	return isSquareMatrix(dims[0]) || isScalar(dims[0]);
     }
 
     bool 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks