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

Masaharu Goto (MXJ02154@nifty.ne.jp)
Fri, 15 Jan 1999 08:08:54 +0900


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