mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-18 02:28:05 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
@@ -96,6 +96,6 @@ public sealed class Cog : AbstractBase
|
||||
return 0.0;
|
||||
|
||||
// Calculate center of gravity and normalize
|
||||
return -((numerator / denominator) - (_period + 1.0) / 2.0);
|
||||
return -((numerator / denominator) - ((_period + 1.0) / 2.0));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user