Commit dae135ad authored by Victor Yacovlev's avatar Victor Yacovlev

ACTORS: MSVC2010 fix

parent d8e2434d
......@@ -79,6 +79,7 @@ Complex ComplexNumbersModule::runOperatorASTERISK(const Complex& x, const Comple
Complex ComplexNumbersModule::runOperatorSLASH(const Complex& x, const Complex& y)
{
Complex result;
result.im = result.re = 0.0;
if (y.re==0 && y.im==0) {
setError(QString::fromUtf8("Деление на комплексный нуль"));
return result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment