-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
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
Warning in fmpz_mat tests #236
Comments
That is on purpose to test the warning. |
I bet it gets reported a lot.
…On 22 August 2017 at 12:44, thofma ***@***.***> wrote:
That is on purpose to test the warning.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOzpnB0mQB_zwLaO3O_7DB5zTUMlx8fks5sarD2gaJpZM4O-Znx>
.
|
how about using |
This is only in Julia-0.7, yes? |
I have it in my |
Ok, then I guess we should do that then. |
The problem is that the test actually throws an InexactError. We currently
use @test_throws for this, but it transmutes the error into a warning,
which is then printed. I don't see how to work around this. It seems like a
bug in Julia to me.
…On 22 August 2017 at 13:37, kalmarek ***@***.***> wrote:
I have it in my julia-0.6
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOzpnp1KutLZ7jHHZYIh_5WENF2ZL39ks5sar1tgaJpZM4O-Znx>
.
|
The function first gives a warning and then throws an error. We cannot test both in the test. How about we only throw the error, but change it's text to the text of the warning? |
Sounds fair.
…On 13 October 2017 at 14:53, thofma ***@***.***> wrote:
The function first gives a warning and then throws an error. We cannot
test both in the test. How about we only throw the error, but change it's
text to the text of the warning?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOzpjy2M4YckpOmXqxhdBIFNNSiY3Dwks5sr10ygaJpZM4O-Znx>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fmpz_mat.convert...WARNING: When trying to convert a fmpz_mat to a Matrix{Int}, some elements were too large to fit the standard Int type: try to convert to a matrix of BigInt.
The text was updated successfully, but these errors were encountered: