1
Fork 0

Fix useless line

This commit is contained in:
Edgar P. Burkhart 2022-05-04 10:53:51 +02:00
parent d681acb703
commit 1441bae6e4
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -38,8 +38,6 @@ with (
) as f: ) as f:
model = pickle.load(f) model = pickle.load(f)
i0 = np.argmin(np.abs((model.x - x0) + 1j * (model.z - z0)))
x0, idx0 = np.unique(model.x.astype(np.half), return_inverse=True) x0, idx0 = np.unique(model.x.astype(np.half), return_inverse=True)
z0, idz0 = np.unique(model.z.astype(np.half), return_inverse=True) z0, idz0 = np.unique(model.z.astype(np.half), return_inverse=True)