Open mhostetter opened 9 months ago
import numpy as np
import galois
x = galois.GF2([1, 0, 1])
print(x)
x = np.bitwise_or(x, 0b10)
print(x)
$ python3 test_bitwise_or.py
[1 0 1]
[3 2 3] # Should error
Maybe use _view()
instead of _view_without_verification()
for operations that could expand the bit depth.