Skip to content

Commit

Permalink
tweak in minimalExtend
Browse files Browse the repository at this point in the history
  • Loading branch information
kb1dds committed Jun 21, 2018
1 parent f4fc242 commit 9d6f621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysheaf/pysheaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))

Expand Down

0 comments on commit 9d6f621

Please sign in to comment.