mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[continuous_function_cache] Coding style
This commit is contained in:
committed by
LeaNumworks
parent
937979503a
commit
591f47d6a9
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user