Re: Can not fit user function

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 17 1997 - 18:57:01 MEST


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



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