Has the effect of forcing np arrays of length 1 to the Python complex type. This code will produce an error if the array has len > 1, which is what we want in the slabs method. slabs wasn't designed to work with ric being an array of len == 1 either, which is why I made this change.
Has the effect of forcing np arrays of length 1 to the Python
complex
type. This code will produce an error if the array has len > 1, which is what we want in theslabs
method.slabs
wasn't designed to work withric
being an array of len == 1 either, which is why I made this change.