Skip to content

Commit

Permalink
Fix in pyblock
Browse files Browse the repository at this point in the history
  • Loading branch information
A-CGray committed Feb 20, 2023
1 parent 149b036 commit 87dd700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeo/pyBlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def fitGlobal(self, greedyReorder=False):
NN = sparse.csr_matrix((vals, colInd, rowPtr))
NNT = NN.T
NTN = NNT * NN
solve = linalg.dsolve.factorized(NTN)
solve = linalg.factorized(NTN)
self.coef = np.zeros((nCtl, 3))
for idim in range(3):
self.coef[:, idim] = solve(NNT * pts[:, idim])
Expand Down

0 comments on commit 87dd700

Please sign in to comment.