Good catch!
The right thing to do wrt the Python state is to make a numpy vector where every entry is the same. This shouldn't be too hard to special-case, I think. Is it possible to make a numpy vector read-only?
Good catch!
The right thing to do wrt the Python state is to make a numpy vector where every entry is the same. This shouldn't be too hard to special-case, I think. Is it possible to make a numpy vector read-only?