Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #407 from jchismar/master
Browse files Browse the repository at this point in the history
fix typo in Triplet.h line 352
  • Loading branch information
slava77 authored May 30, 2024
2 parents f93339a + 2d0b33e commit cfbb863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDL/Triplet.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ namespace SDL {
float drt_InSeg = rtMid - rtIn;
float dz_InSeg = zMid - zIn;
float dr3_InSeg =
alpaka::math::sqrt(acc, rtMid * rtMid + zMid * zMid) - alpaka::math::sqrt(acc, rtIn * rtIn + zIn + zIn);
alpaka::math::sqrt(acc, rtMid * rtMid + zMid * zMid) - alpaka::math::sqrt(acc, rtIn * rtIn + zIn * zIn);

float coshEta = dr3_InSeg / drt_InSeg;
float dzErr = (zpitchIn + zpitchOut) * (zpitchIn + zpitchOut) * 2.f;
Expand Down

0 comments on commit cfbb863

Please sign in to comment.