-
Notifications
You must be signed in to change notification settings - Fork 114
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
Documentation building bug (related to Measurements.jl) #1378
Comments
According to error's stacktrace (building summary) problem seems to be in OrdinaryDiffEq.jl or
|
Since the stacktrace you linked above comes from |
I tested following simple ODE with OrdinaryDiffEq.jl and Measurements.jl:
With old (2.8.0) and new (2.9.0) version of Measurements it works exactly in the same way |
Remark to previous comment. Problem actually appears in OrdinaryDiffEq. But was invisible in easiest example with only scalar variable.
Error appears only with latest version [email protected] |
Thanks for the investigation! With this, it might make sense to open an issue with the OrdinaryDiffEq package. If you do, please make sure to
It would also be great if you could tag Hendrik and me by adding something like "cc @ranocha @sloede" in your issue, such that we are aware of it. |
I can't reproduce your example. Please tell us the version numbers of everything involved (Julia, Measurements, OrdinaryDiffEq) and the full stacktrace. |
Thank you for response! |
While building Documentation 16: Differentiable programming fails.
In part Propagating errors using Measurements.jl we are using following code:
And finally LoadError appears (building summary)
I looked in History of Measurements.jl. They released new version 2.9.0 last week with following:
New methods value(::Missing) and uncertainty(::Missing) (#127, #128).
one(::Measurement{T}) now returns one(T), instead of an instance of Measurement{T} (#134, #135). This change should not breaking (and hence the major version was not increased), unless you were relying on the previous incorrect return type of one(::Measurement{T}), which did not follow the precise semantic of the one function.
Then I downgraded version of Measurements.jl to previous one - 2.8.0. And after that error disappeared. I think that Trixi or related packages use function one(uEltype) (explicit or implicit) somewhere.
Like a temporal solution I added following code to 16: Differentiable programming in my PR.
Now Documentation check doesn't fail. But it doesn't seem to be a good solution.
The text was updated successfully, but these errors were encountered: