Lattice.linopt* emits a deprecation warning when running with numpy 1.25. This is noticeable when running the tests. This results from a bug: using an array of shape (1,) instead of a scalar. This has no consequence on the results but is corrected here.
Lattice.linopt*
emits a deprecation warning when running with numpy 1.25. This is noticeable when running the tests. This results from a bug: using an array of shape (1,) instead of a scalar. This has no consequence on the results but is corrected here.