-
Notifications
You must be signed in to change notification settings - Fork 14
diff between arrays of Int32 or Float32 shows "nothing" #20
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
diff between arrays of Int32 or Float32 shows "nothing" #20
Comments
I would like to gain support to get a general solution like #17 approved. Firstly regarding the analysis above, for the sake of anyone who also did Then this line:
will create the expression :(Int32[2]==Int32[3])) to deepdiff on. Finally, taking the dump give us the :ref printout that @dpinol shared:
The issue is once again due to the regression of #10, and we should be thinking of generalizing it. I think the only way to fix the issue is to return to just comparing the evaluated |
Just ran into this again when trying to diff
This is not possible in the cases where the comparison args hold any non-builtin types, because the Unfortunately, at the level that this package works (extending If the string representation is enough to get back to the actual value (in the case of Apologies for bringing this out of the shadows after 4 years, but I just spent a bunch of time playing around with ways to solve the issue, and wanted to make sure my efforts were recorded somewhere in case someone else wants to pick this up. |
Int64 or Float64 array comparison correctly displays the differences
But for Int32 or Float32 it shows "Nothing"
adding logs to this package I saw that for 32bits, the expressions that gets into Test.record is strangely a Ref
instead of a vector (which is what I get with 64bits)
The text was updated successfully, but these errors were encountered: