Skip to content

Commit

Permalink
only T array **can** have units
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Jan 8, 2024
1 parent c6036e6 commit 9cec166
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyVBRc/tests/test_pyVBRc.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ def test_interpolator(fname):
dg_targets = np.full(T_targets.shape, np.log10(dgval))
if isinstance(T_targets, unyt_array):
T_targets = T_targets.d
if isinstance(dg_targets, unyt_array):
dg_targets = dg_targets.d
if isinstance(phi_targets, unyt_array):
phi_targets = phi_targets.d
targets = np.column_stack((T_targets, phi_targets, dg_targets))
Vs_interp = interp(targets)
assert len(Vs_interp) == nT * 2
Expand Down

0 comments on commit 9cec166

Please sign in to comment.