We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Measurement from Measurements.jl fails with RaySolver.
Measurement
Measurements.jl
RaySolver
Example:
julia> env = UnderwaterEnvironment(); julia> pm = RaySolver(env); julia> f(d) = transmissionloss(pm, AcousticSource(0.0, -10.0, 1000.0), AcousticReceiver(d, -7.0)) f (generic function with 1 method) julia> f(1000.0) 52.65450803568578 julia> f(1000.0 ± 1.0) ERROR: TaskFailedException nested task error: MethodError: no method matching Float64(::Measurement{Float64}) ... Stacktrace: [1] convert(#unused#::Type{Float64}, x::Measurement{Float64}) @ Base ./number.jl:7 ... [9] perform_step!(...) ... [11] solve!(...) ... [19] traceray(...) @ AcousticRayTracers ~/Projects/AcousticRayTracers.jl/src/RaySolver.jl:248 [20] traceray (repeats 2 times) @ ~/Projects/AcousticRayTracers.jl/src/RaySolver.jl:231 [inlined] [21] macro expansion @ ~/Projects/AcousticRayTracers.jl/src/RaySolver.jl:71 [inlined] ...
The text was updated successfully, but these errors were encountered:
mchitre
No branches or pull requests
Measurement
fromMeasurements.jl
fails withRaySolver
.Example:
The text was updated successfully, but these errors were encountered: