Skip to content

Conversation

@devmotion
Copy link
Member

@devmotion devmotion commented Feb 10, 2025

I think this is necessary and should fix downstream issues I just ran into:

  Got exception outside of a @test
  MethodError: no method matching totallength(::Vector{ForwardDiff.Dual{ForwardDiff.Tag{Pumas.Tag, ForwardDiff.Dual{ForwardDiff.Tag{Pumas.Tag, Float64}, Float64, 2}}, ForwardDiff.Dual{ForwardDiff.Tag{Pumas.Tag, Float64}, Float64, 2}, 1}})
  The function `totallength` exists, but no method is defined for this combination of argument types.
  
  Closest candidates are:
    totallength(::ForwardDiff.Dual)
     @ DiffEqBaseForwardDiffExt ~/.julia/packages/DiffEqBase/DnAEG/ext/DiffEqBaseForwardDiffExt.jl:504

@ChrisRackauckas
Copy link
Member

fuck I bungled the hotfix sorry. I don't know how this wasn't caught in the first set of tests but I tested this locally on an autodiff solve case and we seem good now.

@ChrisRackauckas ChrisRackauckas merged commit 1a870e8 into master Feb 10, 2025
19 of 44 checks passed
@ChrisRackauckas ChrisRackauckas deleted the dw/totallength branch February 10, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants