Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 312: Line 312:
   proba /= Math.pow(sim.volume, reac.inputs.length);
   proba /= Math.pow(sim.volume, reac.inputs.length);
-
   alert('BEFORE : reac '+i+ ' proba=' + proba);
+
   //alert('BEFORE : reac '+i+ ' proba=' + proba);
   var entier= Math.floor(proba);
   var entier= Math.floor(proba);
Line 327: Line 327:
   }
   }
-
   alert('AFTER : reac '+i+ ' proba=' + (entier+frac));
+
   //alert('AFTER : reac '+i+ ' proba=' + (entier+frac));
   for(var j= 0 ; j < reac.inputs.length ; ++j)
   for(var j= 0 ; j < reac.inputs.length ; ++j)

Revision as of 00:31, 3 August 2013