diff --git a/corsika/detail/framework/geometry/Helix.inl b/corsika/detail/framework/geometry/Helix.inl index 5a029d8e22884f2c87dfb45ba38736c87268e815..03c0fd85decf43765f75dd390b60c71a62ae58ac 100644 --- a/corsika/detail/framework/geometry/Helix.inl +++ b/corsika/detail/framework/geometry/Helix.inl @@ -19,7 +19,7 @@ namespace corsika { inline Point Helix::getPosition(TimeType const t) const { return r0_ + vPar_ * t + - (vPerp_ * (std::cos(omegaC_ * t) - 1) + uPerp_ * std::sin(omegaC_ * t)) / + (vPerp_ * (std::cos(omegaC_ * t) - 1) + uPerp_ * std::sin(omegaC_ * t)) / omegaC_; } diff --git a/corsika/framework/utility/CubicSolver.hpp b/corsika/framework/utility/CubicSolver.hpp index d627572775e736b43f597cef85bb8516fa0d55e7..694b6e3bcfe849e33270532ea53446cce6d95b12 100644 --- a/corsika/framework/utility/CubicSolver.hpp +++ b/corsika/framework/utility/CubicSolver.hpp @@ -29,7 +29,7 @@ namespace corsika { @ingroup Utility @{ */ - + namespace andre { /** Solve a x^3 + b x^2 + c x + d = 0 @@ -63,13 +63,13 @@ namespace corsika { long double d); /** - @return 3 a x^2 + 2 b x + c - */ + @return 3 a x^2 + 2 b x + c + */ long double cubic_function_dfdx(long double x, long double a, long double b, long double c); /** - @return 6 a x + 2 b + @return 6 a x + 2 b */ long double cubic_function_d2fd2x(long double x, long double a, long double b);