Skip to content

Commit 2a57b96

Browse files
committed
fix
1 parent 8ffa3f0 commit 2a57b96

File tree

4 files changed

+82
-77
lines changed

4 files changed

+82
-77
lines changed

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.math.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,8 +1201,8 @@ public override Operand Calculate(AlgorithmEngine work)
12011201

12021202
var o1 = FunctionUtil.F_base_GetList(args1, list1);
12031203
var o2 = FunctionUtil.F_base_GetList(args2, list2);
1204-
if (o1 == false) { return Operand.Error("Function 'CovarIanceS' parameter {0} error!", 1); }
1205-
if (o2 == false) { return Operand.Error("Function 'CovarIanceS' parameter {0} error!", 2); }
1204+
if (o1 == false) { return Operand.Error("Function 'CovarIanceS' parameter {0} is error!", 1); }
1205+
if (o2 == false) { return Operand.Error("Function 'CovarIanceS' parameter {0} is error!", 2); }
12061206
if (list1.Count != list2.Count) { return Operand.Error("Function 'CovarIanceS' parameter's count error!"); }
12071207
if (list1.Count == 1) { return Operand.Error("Function 'CovarIanceS' parameter's count error!"); }
12081208

@@ -1235,8 +1235,8 @@ public override Operand Calculate(AlgorithmEngine work)
12351235
List<decimal> list2 = new List<decimal>();
12361236
var o1 = FunctionUtil.F_base_GetList(args1, list1);
12371237
var o2 = FunctionUtil.F_base_GetList(args2, list2);
1238-
if (o1 == false) { return Operand.Error("Function 'Covar' parameter {0} error!", 1); }
1239-
if (o2 == false) { return Operand.Error("Function 'Covar' parameter {0} error!", 2); }
1238+
if (o1 == false) { return Operand.Error("Function 'Covar' parameter {0} is error!", 1); }
1239+
if (o2 == false) { return Operand.Error("Function 'Covar' parameter {0} is error!", 2); }
12401240
if (list1.Count != list2.Count) { return Operand.Error("Function 'Covar' parameter's count error!"); }
12411241
if (list1.Count == 0) { return Operand.Error("Function 'Covar' parameter's count error!"); }
12421242

0 commit comments

Comments
 (0)