Browse Source

OR equation correction

Debashis Chandra Ray 5 years ago
parent
commit
ababa15a2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      JavaScript/JavaScript_SDK/CertainTrust.js

+ 1 - 1
JavaScript/JavaScript_SDK/CertainTrust.js

@@ -277,7 +277,7 @@ CertainTrust.prototype._singleOR = function(arg) {
 
 	resF = f1 + f2 - f1*f2;
 
-	if (this._almostEqual(resF, 0)){ // Avoiding division by Zero
+	if (this._almostEqual(resF, 0)){
 		f1 = 0.99999;
 		f2 = 0.99999;
 		resF = f1 + f2 - f1*f2;