[continuous_function_cache] Coding style

This commit is contained in:
Gabriel Ozouf
2020-12-02 15:09:57 +01:00
committed by LeaNumworks
parent 937979503a
commit 591f47d6a9
4 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ void ContinuousFunctionCache::PrepareForCaching(void * fun, ContinuousFunctionCa
if (function->cache() != cache) {
cache->clear();
function->setCache(cache);
} else if (tStep != 0. && tStep != cache->step()) {
} else if (tStep != 0.f && tStep != cache->step()) {
cache->clear();
}