Closed alexfikl closed 2 years ago
There's about a dozen places checking for scalars (from a quick grep) and these were the only ones using isinstance(x, Number), so this should make it more consistent.
isinstance(x, Number)
Thx!
There's about a dozen places checking for scalars (from a quick grep) and these were the only ones using
isinstance(x, Number)
, so this should make it more consistent.