Skip to content

Commit f7715df

Browse files
committed
chaning np.array(XXX, copy=False) to np.asarray
1 parent 689883d commit f7715df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfem/_par/mesh.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def FindPoints(self, pp, warn=True, inv_trans=None):
269269
import numpy as np
270270
import mfem.par as mfem
271271

272-
pp = np.array(pp, copy=False, dtype=float).transpose()
272+
pp = np.asarray(pp, dtype=float).transpose()
273273
M = mfem.DenseMatrix(pp.shape[0], pp.shape[1])
274274
M.Assign(pp)
275275
elem_ids = mfem.intArray()

0 commit comments

Comments
 (0)