From f352e82ad289fd6abf8a2d112972c3049482743c Mon Sep 17 00:00:00 2001 From: Youcan Feng Date: Fri, 24 Jan 2025 01:03:50 +0800 Subject: [PATCH] Update distribute_mesh.py numpy 2.0 migration, fix the problem: ModuleNotFoundError: No module named 'numpy.lib.arraysetops' --- anuga/parallel/distribute_mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anuga/parallel/distribute_mesh.py b/anuga/parallel/distribute_mesh.py index 8101ae1a5..a43be3e49 100644 --- a/anuga/parallel/distribute_mesh.py +++ b/anuga/parallel/distribute_mesh.py @@ -27,7 +27,7 @@ from math import floor import numpy as num -import numpy.lib.arraysetops as numset +import numpy.lib._arraysetops_impl as numset from anuga.abstract_2d_finite_volumes.neighbour_mesh import Mesh from anuga import indent