Commit d4c7173c authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Margesort is marginally faster. Let's use it.

parent e69036c9
......@@ -62,7 +62,7 @@ def best_grid(wavelengths1, wavelengths2):
wl = np.concatenate((wavelengths1, wavelengths2))
flag = np.ones(len(wl), dtype=bool)
np.not_equal(wl[1:], wl[:-1], out=flag[1:])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment