From 9d6f6219f7c92a3795120f7476bc7e21fab3ff72 Mon Sep 17 00:00:00 2001 From: Michael Robinson Date: Thu, 21 Jun 2018 14:26:18 -0400 Subject: [PATCH] tweak in minimalExtend --- pysheaf/pysheaf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysheaf/pysheaf.py b/pysheaf/pysheaf.py index 15c1019..adb294b 100644 --- a/pysheaf/pysheaf.py +++ b/pysheaf/pysheaf.py @@ -905,7 +905,7 @@ def minimalExtend(self,assignment, activeCells=None, testSupport=None, method='n # Use least squares to solve for assignment rooted at this cell given the existing assignment asg,bnds=self.serializeAssignment(assignment,activeCells=support) # Confusingly, activeSupport here refers *only* to the support of the assignment - result=np.linalg.lstsq(mat,asg) + result=np.linalg.lstsq(mat,asg,rcond=None) newassignment.sectionCells.append(SectionCell(i,result[0]))