Skip to content

Commit e7b9edb

Browse files
authored
Merge pull request #34 from dotnetprojects/copilot/fix-switched-add-mul-call
Fix switched Add/Mul class names in C# arithmetic call files
2 parents c559e92 + 6d75162 commit e7b9edb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace TiaCodegen.Commands.Functions.Arithmetic
66
{
7-
public class MulCall : VariableArithmeticCall
7+
public class AddCall : VariableArithmeticCall
88
{
9-
public MulCall(string type,
9+
public AddCall(string type,
1010
IOperationOrSignal in1,
1111
IOperationOrSignal in2,
1212
IOperationOrSignal in3 = null,
@@ -58,7 +58,7 @@ public MulCall(string type,
5858
IOperationOrSignal in49 = null,
5959
IOperationOrSignal in50 = null,
6060
IOperationOrSignal out1 = null,
61-
IOperationOrSignal eno = null) : base("Mul", eno)
61+
IOperationOrSignal eno = null) : base("Add", eno)
6262
{
6363
DisableEno = true;
6464
Type = type;

TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace TiaCodegen.Commands.Functions.Arithmetic
66
{
7-
public class AddCall : VariableArithmeticCall
7+
public class MulCall : VariableArithmeticCall
88
{
9-
public AddCall(string type,
9+
public MulCall(string type,
1010
IOperationOrSignal in1,
1111
IOperationOrSignal in2,
1212
IOperationOrSignal in3 = null,
@@ -58,7 +58,7 @@ public AddCall(string type,
5858
IOperationOrSignal in49 = null,
5959
IOperationOrSignal in50 = null,
6060
IOperationOrSignal out1 = null,
61-
IOperationOrSignal eno = null) : base("Add", eno)
61+
IOperationOrSignal eno = null) : base("Mul", eno)
6262
{
6363
DisableEno = true;
6464
Type = type;

0 commit comments

Comments
 (0)