Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
TriNormalsScaled: Fix for Python 3 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmelnikow authored Aug 29, 2019
1 parent 1811c16 commit e198e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blmath/optimization/objectives/normals.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def compute_dr_wrt(self, wrt):
shape = (self.f.size, self.v.r.size)
dr_vplus, dr_vminus = [
sp.csc_matrix((ones, np.vstack([IS, item])), shape=shape)
for item in vplus3, vminus3 # FIXME change item to a DAMP
for item in [vplus3, vminus3] # FIXME change item to a DAMP
]
return dr_vplus - dr_vminus

Expand Down

0 comments on commit e198e56

Please sign in to comment.