Skip to content

MethodError with Base.Math.pow_body on v0.8.4 #91

@david-pl

Description

@david-pl

I don't have an MRE, but running a Newton method I get

MethodError: no method matching pow_body(::UInt64, ::Float64)
  The function `pow_body` exists, but no method is defined for this combination of argument types.
  
  Closest candidates are:
    pow_body(::Float64, ::Float64)
     @ Base math.jl:1162
    pow_body(::Float64, ::Integer)
     @ Base math.jl:1218
    pow_body(::T, ::T) where T<:Union{Float16, Float32}
     @ Base math.jl:1193

It's this line right here:

@inline p = p * Base.Math.pow_body(Δ, exponent)

Judging from the types there, pow_body is being called with the types above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions