Skip to content

Commit

Permalink
Merge branch 'main' into tulio/add_mechs
Browse files Browse the repository at this point in the history
  • Loading branch information
tulioricci authored Jul 31, 2023
2 parents cb7fc78 + 77b45f6 commit 6afbb6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_fluid.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_velocity_gradient_structure(actx_factory):
exp_trace = 15
assert grad_v.shape == (dim, dim)
from meshmode.dof_array import DOFArray
assert type(grad_v[0, 0]) == DOFArray
assert isinstance(grad_v[0, 0], DOFArray)

def inf_norm(x):
return actx.to_numpy(op.norm(dcoll, x, np.inf))
Expand Down Expand Up @@ -237,7 +237,7 @@ def test_species_mass_gradient(actx_factory, dim):

assert grad_y.shape == (nspecies, dim)
from meshmode.dof_array import DOFArray
assert type(grad_y[0, 0]) == DOFArray
assert isinstance(grad_y[0, 0], DOFArray)

def inf_norm(x):
return actx.to_numpy(op.norm(dcoll, x, np.inf))
Expand Down

0 comments on commit 6afbb6d

Please sign in to comment.