Commit ff58a79f authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix: Bug 26098 - Не производится расчет функции если аргумент ссылается на пустую ячейку

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59557 954022d7-b5bf-4e40-9824-e11837661b57
parent cf8e827b
......@@ -484,7 +484,7 @@ Complex.prototype = {
f = 1 / (c * c + d * d)
if( Math.abs(f) == Infinity ){
return new cError( cErrorType.division_by_zero );
return new cError( cErrorType.not_numeric );
}
return new Complex( (a * c + b * d) * f, (b * c - a * d) * f, this.suffix );
......
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