Skip to content

Commit 8b0bc87

Browse files
committed
fix the multply implementation
1 parent 9348249 commit 8b0bc87

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

.vs/LGP/v15/.suo

-4.5 KB
Binary file not shown.

.vs/LGP/v15/Browse.VC.db

-4 KB
Binary file not shown.

LGPOperators/LGPOperator_Multiplication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ int LGPOperator_Multiplication::Execute(const LGPRegister* operand1, const LGPRe
1515
{
1616
double x1=operand1->ToDouble();
1717
double x2=operand2->ToDouble();
18-
destination_register->SetValue(x1+x2);
18+
destination_register->SetValue(x1 * x2);
1919

2020
return LGP_EXECUTE_NEXT_INSTRUCTION;
2121
}

0 commit comments

Comments
 (0)