Commits

Lisandro Dalcin committed 1c5392c

Fix usage of np.unique

Comments (0)

Files changed (1)

src/igakit/cad.py

                 mults.append(s.astype('i'))
             # Merge breaks and multiplicities
             masks = []
-            u = np.unique(np.concatenate(breaks))
+            u = np_unique(np.concatenate(breaks))
             s = np.zeros(u.size, dtype='i')
             for (ui, si) in zip(breaks, mults):
                 mask = np.in1d(u, ui)