You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binary operations with scalars are implemented only when the scalar is on the right.
Negation isn't working either.
Example:
importnumpyasnpimportbh107asbhxs=bh.array(np.linspace(0,10,100)) # Oh, linspace is also missingg=bh.exp(-xs**2) # Unsupported operandg=bh.exp((xs**2)*-1) # Works, is pretty awkwardf=0.5*g# Unsupported operandf=g*0.5# Worksh=1+f# Unsupported operandh=f+1# Works, you get the picture
It's pretty grueling to change this everywhere when I want to test with bh107. It should be easy to fix, but I don't know where to do it.
The text was updated successfully, but these errors were encountered:
Binary operations with scalars are implemented only when the scalar is on the right.
Negation isn't working either.
Example:
It's pretty grueling to change this everywhere when I want to test with bh107. It should be easy to fix, but I don't know where to do it.
The text was updated successfully, but these errors were encountered: