RE:Re: bug in TMinuit calling "fcn" func

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Fri Jan 15 1999 - 00:08:54 MET


Rene and Stefan,

I managed fix the problem.

>1) Cint can not handle following code
>    void f() {
>      const int SIZE=50;
>      static double d[SIZE];
>    }

Fixed. Above code now works. I need further test before release.

>2) Array initialization voids bytecode compilation
>    void f() {
>      static double d[] = { 1,2,3,4,5 }; // Bytecode voided, very very slow
>    }
>
>   Please use such initialization for global variable declaration.
>   static double d[] = { 1,2,3,4,5 };
>   void f() {
>      .
>   }

This is continue to be a limitation. Please avoid initializing arrays and
structs with { } if you want speed.

>3) Explicit conversion to typedefed fundamental type causes problem in some 
>case
>   void f(int i) {
>     Double_t a=3.14,b;
>     b = Double_t(i) / a; // BUG
>   }

Fixed. 

I'll copy the new version to CERN in this weekend.

Thank you
Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET