Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace TiaCodegen.Commands.Functions.Arithmetic
{
public class MulCall : VariableArithmeticCall
public class AddCall : VariableArithmeticCall
{
public MulCall(string type,
public AddCall(string type,
IOperationOrSignal in1,
IOperationOrSignal in2,
IOperationOrSignal in3 = null,
Expand Down Expand Up @@ -58,7 +58,7 @@ public MulCall(string type,
IOperationOrSignal in49 = null,
IOperationOrSignal in50 = null,
IOperationOrSignal out1 = null,
IOperationOrSignal eno = null) : base("Mul", eno)
IOperationOrSignal eno = null) : base("Add", eno)
{
DisableEno = true;
Type = type;
Expand Down
6 changes: 3 additions & 3 deletions TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace TiaCodegen.Commands.Functions.Arithmetic
{
public class AddCall : VariableArithmeticCall
public class MulCall : VariableArithmeticCall
{
public AddCall(string type,
public MulCall(string type,
IOperationOrSignal in1,
IOperationOrSignal in2,
IOperationOrSignal in3 = null,
Expand Down Expand Up @@ -58,7 +58,7 @@ public AddCall(string type,
IOperationOrSignal in49 = null,
IOperationOrSignal in50 = null,
IOperationOrSignal out1 = null,
IOperationOrSignal eno = null) : base("Add", eno)
IOperationOrSignal eno = null) : base("Mul", eno)
{
DisableEno = true;
Type = type;
Expand Down