Re: Can not fit user function

Rene Brun (Rene.Brun@cern.ch)
Thu, 17 Jul 1997 18:57:01 +0200


Pablo P Yepes wrote:
>
> Hello,
> When I compile the example program found in the TTree definition (http://root.cern.ch/root/html/TTree.html) with Visual C++. I get the following error:
>
> C:\yepes\Explore\test\test.cpp(32) : error C2664: 'class TBranch *TTree::Branch(const char *,class TClonesArray *,int,int)' : cannot convert parameter 2 from '
>
> in line:
> tree->Branch("hpx",hpx,128000);
>

Mea culpa !
Thanks for reporting this inconsistency.
I forgot to update this example html file when we changed the specs
of TTree to create branch objects in version 0.9.
I have now modified the example to be in phase with the current version.

Rene Brun