Skip to content

Commit

Permalink
Fixing bug in ComplexNumbers multiplication
Browse files Browse the repository at this point in the history
  • Loading branch information
a-a-maly committed Dec 6, 2018
1 parent 648bc0c commit 2f27d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actors/complexnumbers/complexnumbersmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Complex ComplexNumbersModule::runOperatorASTERISK(const Complex& x, const Comple
{
Complex result;
result.re = x.re*y.re - x.im*y.im;
result.im = y.im*x.re + x.re*y.im;
result.im = x.re*y.im + x.im*y.re;
return result;
}

Expand Down

0 comments on commit 2f27d04

Please sign in to comment.