Skip to content

Commit

Permalink
pypardiso wants float64 matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Feb 3, 2021
1 parent 3b0dccd commit f3b3074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matrix_utils/mapped_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(
self.matrix = sparse.coo_matrix(
(np.zeros(len(row_indices)), (row_indices, col_indices),),
(row_indices.max() + 1, col_indices.max() + 1,),
dtype=np.float32
dtype=np.float64
).tocsr()

self.rebuild_matrix()
Expand Down

0 comments on commit f3b3074

Please sign in to comment.