We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
x = 2.5
begin y = fill(0, 3) y[2] = x y end
will give this error (which it should!)
InexactError: Int64(2.5) Int64@float.jl:710[inlined] convert@number.jl:7[inlined] setindex!@array.jl:847[inlined] top-level scope@Local: 3[inlined]
Now, changing the second cell to:
begin y = fill(0.0, 3) y[2] = x y end
(0.0 instead of 0) should fix the error, but it doesn't, because 0 == 0.0 => the expressions are equal.
0.0
0
0 == 0.0
The text was updated successfully, but these errors were encountered:
or the hash
Sorry, something went wrong.
9e0c8bd
fonsp
No branches or pull requests
Example:
will give this error (which it should!)
Now, changing the second cell to:
(
0.0
instead of0
) should fix the error, but it doesn't, because0 == 0.0
=> the expressions are equal.The text was updated successfully, but these errors were encountered: