-
Notifications
You must be signed in to change notification settings - Fork 13
Test on julia 1 and lts #108
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
Conversation
|
Note that |
|
Im very confused |
|
Oh, I remember that you're using iterative method to solve for eigenvalues of the transfer matrix in |
|
I examined the logs. Looking at the 0.125 scaling dimension produced by the tests:
You can see on ubuntu and Windows, the results are almost the same (change is smaller than 1e-14) for Julia 1.12 and 1.10.10. But on macOS the result changed by 1e-5~1e-4. There's definitely something going on in the macOS version of Julia 1.12. |
|
Can confirm I saw weird behavior here: QuantumKitHub/MatrixAlgebraKit.jl#75, also specifically for macOS v1.12. In that case, it seemed to be related to floating point errors, and not the rng. Some things to keep in mind:
So my first guess here would be that something in the random number generator changed, causing that specific version to have different results, and only then I'd investigate if there are floating point weirdnesses |
|
@VictorVanthilt I see that in Line 79 in 31a6a91
Maybe this is the cause? |
|
Yeah I figured, fixing that now. |
|
If this fixes the tests, how about we reset the |
|
Yes |
|
Ok this makes no sense. I'm very skeptical about why the initial guess should matter that much in the end result (on the order of 1% relative difference). Should we revisit the CFT calculation method? Now ubuntu is screwing up. Make it make sense. |
|
Did you simply rerun the test, then ubuntu is fixed? |
|
Yes, so extra investigation is necessary. This should not happen. |
|
If these tests pass I will merge this and get to the other PRs |
No description provided.