Le 8 juillet 2011 11:21, Eric Chatellier
<chatellier@codelutin.com> a écrit :
Le 08/07/2011 11:11, camille de la Vega a écrit :
> Je pensais que "eqMerluSimp.setContent(selectivityMerlu);" équivalait à un
> "return" pour les équations. Il y a un "return=TRUE" dans le "if" puisque
> c'est un booléen. Ce n'est pas dans cette boucle que je dois mettre le return ?
La chaine selectivityMerlu doit contenir une instruction return.
Je pense que le contenu de ton fichier doit etre celui-ci :
0="return
Math.exp(-6.6117851+0.3487131*group.getLength())/(1+Math.exp((-6.6117851+0)+0.3487131*group.getLength()));"
1="return
Math.exp(-7.0728618+0.3814865*group.getLength())/(1+Math.exp((-7.0728618)+0.3814865*group.getLength()));"
2="return
Math.exp(-5.29+0.21*group.getLength())/(1+Math.exp((-5.29)+0.21*group.getLength()));"
3="return
Math.exp(-9.1+0.32*group.getLength())/(1+Math.exp((-9.1)+0.32*group.getLength()));"
4="return
Math.exp(-9.3+0.24*group.getLength())/(1+Math.exp((-9.3)+0.24*group.getLength()));"
5="return
Math.exp(-10.1+0.53*group.getLength())/(1+Math.exp((-10.1)+0.53*group.getLength()));"
--