Hi,
Whenever I create a second TPrincipal object I cannot add
data to the first one. I'm running v3.01 on Irix 6.5
Suyong
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 3.01/06 27 July 2001 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
FreeType Engine v1.x used to render TrueType fonts.
Compiled with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.07, July 7 2001
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TPrincipal pca1(2,"");
root [1] Double_t *data=new Double_t[2];
root [2] data[0]=10.0;data[1]=10.0;
root [3] pca1.AddRow(data)
root [4] TPrincipal pca2(2,"");
root [5] data[0]=5.0;data[1]=5.0;
root [6] pca1.AddRow(data)
*** Break *** segmentation violation
Root >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET