Skip to content

Commit

Permalink
Rewrites formula
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Baran <[email protected]>
  • Loading branch information
hajg-ijk and mateuszbaran authored Sep 19, 2023
1 parent 12eb345 commit 29874e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifolds/Hyperbolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,6 @@ riemann_tensor(::Hyperbolic, p, X, Y, Z)
function riemann_tensor!(M::Hyperbolic, Xresult, p, X, Y, Z)
innerZX = inner(M, p, Z, X)
innerZY = inner(M, p, Z, Y)
Xresult .= -(innerZY .* X .- innerZX .* Y)
Xresult .= innerZX .* Y .- innerZY .* X
return Xresult

Check warning on line 400 in src/manifolds/Hyperbolic.jl

View check run for this annotation

Codecov / codecov/patch

src/manifolds/Hyperbolic.jl#L396-L400

Added lines #L396 - L400 were not covered by tests
end

0 comments on commit 29874e9

Please sign in to comment.