mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-18 02:28:05 +00:00
[CodeFactor] Apply fixes to commit 4a01f03
This commit is contained in:
@@ -336,7 +336,7 @@ public sealed class Mdae : AbstractBase
|
||||
}
|
||||
|
||||
// Median-of-three pivot selection for better pivot choice
|
||||
int mid = left + (right - left) / 2;
|
||||
int mid = left + ((right - left) / 2);
|
||||
if (span[mid] < span[left])
|
||||
{
|
||||
(span[left], span[mid]) = (span[mid], span[left]);
|
||||
|
||||
Reference in New Issue
Block a user