There is seems to be a bug in
http://root.cern.ch/root/htmldoc/TVector2.h
inline TVector2 TVector2::Unit() const {return (Mod2()) ? *this/Mod() :
TVector2(0); }
combined with constructor TVector2 (Double_t* s)
gives segmentation fault
In TVector2::Unit() should be 'TVector2()' instead of 'TVector2(0)'.
root [0] TVector2 a(0,0);
root [1] a.Unit();
*** Break *** segmentation violation
this indeed happens.....
Regards,
Elena Gerchtein
<<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>>
<< Tel: (630) 840 4543 >>
<< FAX: (630) 840 2968 >>
<< office: 167-K CDF Trailers >>
<< E-mail: lena@fnal.gov >>
<<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET