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

  Switch to side-by-side view

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