Skip to content

Commit

Permalink
fix test (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley authored Apr 8, 2021
1 parent 7ee078f commit 7c01ece
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ def test_anticlockwise_validity():
# This catches geometric/topological abnormalities that would arise from,
# for example: switching lat/lon values, using euclidean coords vs spherical.
rg = Regridder(meshinfo, meshinfo)
expected_weights = scipy.sparse.identity(meshinfo.size())
expected_weights = scipy.sparse.identity(meshinfo.size)
assert np.allclose(expected_weights.todense(), rg.weight_matrix.todense())

0 comments on commit 7c01ece

Please sign in to comment.