nvm this is since c++ 23 lol
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Marius Eggert 2024-02-14 09:06:39 +01:00
parent 124ae6cc7e
commit 9124cb85fa

View File

@ -159,7 +159,7 @@ void Guidance::targetQuatPtgGs(timeval timeAbsolute, const double timeDelta,
}
// normalize weights for convenience
double normFactor = 1. / (std::fabs(sunWeight) + std::fabs(earthWeight));
double normFactor = 1. / (std::abs(sunWeight) + std::abs(earthWeight));
sunWeight *= normFactor;
earthWeight *= normFactor;