mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
refactoring
This commit is contained in:
@@ -45,7 +45,7 @@ public class ConvIndicator : Indicator, IWatchlistIndicator
|
||||
var weights = WeightsInput.Split(',')
|
||||
.Select(s => double.Parse(s.Trim()))
|
||||
.ToArray();
|
||||
|
||||
|
||||
if (weights.Length == 0)
|
||||
throw new ArgumentException("Weights cannot be empty");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user