diff --git a/flopy/modpath/mp7particledata.py b/flopy/modpath/mp7particledata.py index 7ee9a0ab8..0462b5ff6 100644 --- a/flopy/modpath/mp7particledata.py +++ b/flopy/modpath/mp7particledata.py @@ -173,7 +173,7 @@ def __init__( partlocs = np.array(partlocs, dtype=dtype) elif isinstance(partlocs, np.ndarray): dtypein = partlocs.dtype - if dtypein != partlocs.dtype: + if dtypein != dtype: partlocs = np.array(partlocs, dtype=dtype) else: msg = (