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
using Polynomials
x = Polynomial([0,1])
A = (1.0 + 2.0*x^2) // (1.0 + 2.0*x^2)
B = (0.0) // (1.0 + 2.0*x^2)
C = (3.0*x) // (1.0 + 2.0*x^2)
D = (1.0 + 2.0*x^2) // (1.0 + 2.0*x^2)
if true # Should do the same as the else case but fails
[A B; C D]
else # works and should do the same
a = [A B]
b = [C D]
[a;b]
end
Somehow this code makes an error, but the else case, which should do the same, works:
Somehow this code makes an error, but the else case, which should do the same, works:
The text was updated successfully, but these errors were encountered: