Skip to content

Commit

Permalink
Merge pull request #22 from kb1dds/kernel_proj
Browse files Browse the repository at this point in the history
tweak in minimalExtend
  • Loading branch information
kb1dds authored Jun 22, 2018
2 parents d4771f3 + 9d6f621 commit f390405
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 f390405

Please sign in to comment.