This PR properly closes #228 by allowing Numpy arrays to be buried deep within ports schemas (example for _divider). Additionally, this fixes a bug I introduced in #233 which caused things like 0 and np.zeros(10) to be considered equivalent in ports schemas when they should not be.
This PR properly closes #228 by allowing Numpy arrays to be buried deep within ports schemas (example for
_divider
). Additionally, this fixes a bug I introduced in #233 which caused things like 0 andnp.zeros(10)
to be considered equivalent in ports schemas when they should not be.To ensure that everything works as intended, I added
test_numpy_schema_validation
toengine.py
.By creating this pull request, I agree to the Contributor License Agreement, which is available in
CLA.md
at the top level of this repository.