Hi Nicolas,
I believe this to be fixed in the CVS head, see
http://root.cern.ch/viewcvs/hist/src/TMultiDimFit.cxx
Eddy
- PRODUIT Nicolas <Nicolas.Produit_at_obs.unige.ch> wrote:
> Hi,
>
> in ROOT 4.01.04
> using method
> TMultiDimFit::MakeCode()
> Create bogus code in file MDF.C:
> In order to make this code work I have to:
> supress a <<
> that appear in the line:
> double term = gCoefficient[i]; <<
> Then we have two nested loops that use the same loop variable
> The inner variable should be changed from:
> for (i = 3; i <= power; i++) {
> to
> for (int ii = 3; ii <= power; ii++) {
>
> Doing those two things the code compile and run fine.
>
> Tahnks
>
>
> --
> Nicolas Produit
> INTEGRAL Science Data Center Phone: +41 22 379 2140
> 16, Chemin d'Ecogia Fax: +41 22 379 2133
> CH-1290 Versoix www: http://isdc.unige.ch/~produit
>
>
Received on Wed Mar 16 2005 - 14:14:46 MET