Re: TMultiDimFit::MakeCode() problem

From: Rene BRUN <rene.brun_at_cern.ch>
Date: Wed, 16 Mar 2005 12:24:02 +0100


Nicolas,

A few fixes have been made to TMultiDimFit in the past few weeks. Start from the CVS head where the problem that you report is fixed.

Rene Brun

PRODUIT Nicolas 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
>
>
Received on Wed Mar 16 2005 - 12:24:07 MET

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