Hi,
I do not see such problem on my linux machine:
FreeType Engine v2.1.9 used to render TrueType fonts. Compiled on 3 April 2006 for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.16.10, March 30, 2006
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .! cat tv.C
{
TVectorD v1,v2; v1.ResizeTo(2); v2.ResizeTo(2); for( int i = 0; i < v1.GetNrows(); ++i ) {v1[i] = i;
It doesn't hang and I get the plot.
Cheers, O.Couet
On Mon, 3 Apr 2006, Hajo Molegraaf wrote:
> Hi, > The following macro gets my root to hang: > > TVectorD v1,v2; > v1.ResizeTo(2); > v2.ResizeTo(2); > for( int i = 0; i < v1.GetNrows(); ++i ) > { > v1[i] = i; > v2[i] = 2.0001e8; > } > TGraph* gr = new TGraph(v1,v2); > gr->Draw("A*"); > > If I change the '2.0001e8' into '2e8' or smaller, it works. Any larger value > gives this problem. > > root version: > Version 5.11/01 3 March 2006 > Compiled on 3 April 2006 for linux with thread support. > CINT/ROOT C/C++ Interpreter version 5.16.10, March 30, 2006 > > What am I doing wrong? > > Hajo Molegraaf. > > _________________________________________________________________ > Nieuw op MSN Messenger 7.5: Dynamische achtergronden > http://www1.imagine-msn.com/Messenger/Audio.aspx > >
-- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet_at_cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7670300Received on Mon Apr 03 2006 - 15:26:55 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET