mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 19:18:05 +00:00
[CodeFactor] Apply fixes to commit 4a01f03
This commit is contained in:
@@ -237,7 +237,7 @@ public sealed class Spearman : AbstractBase
|
||||
}
|
||||
|
||||
// Average rank: 1-based position = countSmaller + (countEqual - 1) / 2.0 + 1
|
||||
ranks[i] = countSmaller + (countEqual - 1) * 0.5 + 1.0;
|
||||
ranks[i] = countSmaller + ((countEqual - 1) * 0.5) + 1.0;
|
||||
}
|
||||
}
|
||||
/// <summary>Not supported. This indicator requires two input spans.</summary>
|
||||
|
||||
Reference in New Issue
Block a user