Skip to content

Commit

Permalink
Merge branch 'sijie-july24-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
chansigit committed Jul 22, 2024
2 parents 1d6ba32 + 62a8198 commit 8d7c134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamo/tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3346,7 +3346,7 @@ def get_rank_array(
if type(arr) == ArrayView:
arr = np.array(arr)
if sp.issparse(arr):
arr = arr.A
arr = arr.toarray()
arr[np.isnan(arr)] = 0

if dtype is not None:
Expand Down

0 comments on commit 8d7c134

Please sign in to comment.