as i dont like being surprised by implicit stuff ...
EIVE/eive-obsw/pipeline/pr-main This commit looks good Details

This commit is contained in:
Marius Eggert 2024-02-14 09:04:56 +01:00
parent b9e4c51d82
commit 124ae6cc7e
1 changed files with 1 additions and 1 deletions

View File

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