TMultiDimFit::MakeCode() problem

From: PRODUIT Nicolas <Nicolas.Produit_at_obs.unige.ch>
Date: Wed, 16 Mar 2005 11:27:32 +0100


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 - 11:36:33 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET