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
It seems that Devectorize doesn't recognize operations on scalar variables.
julia> a=1.0; b=2.0; x=[1.,2.];
julia> @devec y=(a/b) .*x
ERROR: DeError("Devectorize does not support /, please use ./ to express element-wise division.")
However, changing / to ./ will make it work. But then it makes Devectroize less magical.
The text was updated successfully, but these errors were encountered:
It seems that Devectorize doesn't recognize operations on scalar variables.
However, changing
/
to./
will make it work. But then it makes Devectroize less magical.The text was updated successfully, but these errors were encountered: