You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the highlighting on GitHub doesn't quite show it but all output from workfunc returns an untyped Tuple.
I played around with some ways to resolve this but it's not entirely clear to me what the best way to fix this would be. In addition, I had a few questions.
Why is it that Logarithmic <: Real, instead of Logarithmic <: AbstractFloat?
Why isn't float defined as float(x::Logarithmic) = x?
As a learning project, I ported the R package Brobdingag to Julia (which does essentially the same as this package). There, I did make those decisions and then QuadGK worked without issues, although I'm sure there are reasons for doing otherwise.
The text was updated successfully, but these errors were encountered:
I noticed a somewhat odd interaction with QuadGK.jl and a type instability for
ULogFloat64
.Below is a MWE.
both work, although I noticed that the error term has type
Float64
instead ofLogFloat64
. However,shows type instabilities. Specifically,
is type unstable:
the highlighting on GitHub doesn't quite show it but all output from
workfunc
returns an untypedTuple
.I played around with some ways to resolve this but it's not entirely clear to me what the best way to fix this would be. In addition, I had a few questions.
Logarithmic <: Real
, instead ofLogarithmic <: AbstractFloat
?float
defined asfloat(x::Logarithmic) = x
?As a learning project, I ported the R package Brobdingag to Julia (which does essentially the same as this package). There, I did make those decisions and then QuadGK worked without issues, although I'm sure there are reasons for doing otherwise.
The text was updated successfully, but these errors were encountered: