This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Formatting.jl is broken on v1.0 #73
Comments
It's hard for me to see what is going on here without a complete example. If I define the missing variables as:
and run the rest of the code, it works for me. |
OK, I have been able to reproduce this by putting the code into a function. |
As a temporary workaround add
to your application then change your print line to:
This should be fixable from within Formatting but my initial attempts to fix it result in a huge number of allocations and terrible runtime performance in the tests. I will be out of the country without a laptop for 2 weeks so I won't have time to work on this until Jan 7. |
jmkuhn
added a commit
to jmkuhn/Formatting.jl
that referenced
this issue
Aug 4, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[ Info: Saving the transformation matrix to 'output1-transformation-matrix-general.dsv'
ERROR: LoadError: MethodError: no method matching (::getfield(Formatting, Symbol("##5#6")))(::Float64)
The applicable method may be too new: running in world age 25141, while current world is 25142.
Closest candidates are:
#5(::Any) at /home/dmitry/.julia/packages/Formatting/kSPYy/src/cformat.jl:18 (method too new to be called from this world context.)
Stacktrace:
[1] saveMatrixList(::Array{Float64,1}, ::Array{Array{Float64,2},1}, ::String) at /home/****/.julia/packages/Diabatizem/qEDnV/src/data/data.jl:107
The text was updated successfully, but these errors were encountered: