Skip to content

Commit

Permalink
Fix interpolation problem
Browse files Browse the repository at this point in the history
Interpolation leads to the computation of `exp(log(v))`
which is broken in Julia (https://github.com/JuliaLang/julia/issues/54833)
  • Loading branch information
olivierverdier committed Jun 30, 2024
1 parent 5c2dc03 commit c3638e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Motion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function integrate(
# @assert is_point(manifold, x0)

sol = integrate_lift(motion, x0, dt)
χ = sol(1.0)
χ = last(sol)
x = apply(action, χ, x0)
return x
end
Expand Down Expand Up @@ -189,7 +189,7 @@ function compute_morphism(motion, x, B; dt=0.1)
action = get_action(motion)

sol = integrate_lift(motion, x, dt)
χ = sol(1)
χ = last(sol)


G = base_group(action)
Expand Down

0 comments on commit c3638e1

Please sign in to comment.