mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 20:48:04 +00:00
style patterns
This commit is contained in:
+5
-2
@@ -51,7 +51,10 @@ public sealed class Me : BiInputIndicatorBase
|
||||
ValidateBatchInputs(actual, predicted, output, period);
|
||||
|
||||
int len = actual.Length;
|
||||
if (len == 0) return;
|
||||
if (len == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const int StackAllocThreshold = 256;
|
||||
if (len <= StackAllocThreshold)
|
||||
@@ -75,4 +78,4 @@ public sealed class Me : BiInputIndicatorBase
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user