mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +00:00
adding missing validations
This commit is contained in:
@@ -270,7 +270,9 @@ public sealed class Usf : AbstractBase
|
||||
state.PrevInput2 = state.LastValidValue;
|
||||
output[i] = state.LastValidValue;
|
||||
state.Count = 1;
|
||||
#pragma warning disable S127 // Warmup init: advance past first valid to seed state machine
|
||||
i++;
|
||||
#pragma warning restore S127
|
||||
break;
|
||||
}
|
||||
output[i] = double.NaN;
|
||||
|
||||
Reference in New Issue
Block a user