Skip to content

besselj() problem #83

@GioeleZambotti

Description

@GioeleZambotti

I have a problem in computing the Bessel function with arguments of types ArbFloat

julia> using ArbNumerics

julia> besselj(ArbFloat(1.2),ArbFloat(2.1))
ERROR: MethodError: no method matching ArbFloat{128}(::ArbReal{128}, ::Int64)
The type `ArbFloat{128}` exists, but no method is defined for this combination of argument types when trying to construct it.

Closest candidates are:
  ArbFloat{P}(::ArbReal{P}) where P
   @ ArbNumerics C:\Users\Gioele\.julia\packages\ArbNumerics\qKOAQ\src\values\intraconvert.jl:77
  ArbFloat{P}(::ArbReal{P}, ::Type{ArbNumerics.UpperBound}) where P
   @ ArbNumerics C:\Users\Gioele\.julia\packages\ArbNumerics\qKOAQ\src\values\intraconvert.jl:79
  ArbFloat{P}(::ArbReal{P}, ::Type{ArbNumerics.LowerBound}) where P
   @ ArbNumerics C:\Users\Gioele\.julia\packages\ArbNumerics\qKOAQ\src\values\intraconvert.jl:87
  ...

Stacktrace:
 [1] besselj(nu::ArbFloat{128}, x::ArbFloat{128}, prec::Int64)
   @ ArbNumerics C:\Users\Gioele\.julia\packages\ArbNumerics\qKOAQ\src\float\bessel.jl:27
 [2] besselj(nu::ArbFloat{128}, x::ArbFloat{128})
   @ ArbNumerics C:\Users\Gioele\.julia\packages\ArbNumerics\qKOAQ\src\float\bessel.jl:27
 [3] top-level scope
   @ REPL[2]:1

Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions