fixed bug in nrvec::concatme
This commit is contained in:
13
t.cc
13
t.cc
@@ -2539,7 +2539,7 @@ cout<<"big "<<xx1<<endl;
|
||||
cout << "TEST "<<(xx<xx1) <<" "<<(xx>xx2) <<endl;
|
||||
}
|
||||
|
||||
if(1)
|
||||
if(0)
|
||||
{
|
||||
int seed;
|
||||
int f=open("/dev/random",O_RDONLY);
|
||||
@@ -2574,6 +2574,15 @@ cout <<test;
|
||||
cout <<"Error = "<<(expitszsz-test).norm()<<endl;
|
||||
}
|
||||
|
||||
|
||||
if(1)
|
||||
{
|
||||
NRVec<double> x({1,2,3});
|
||||
NRVec<double> y({4,5,6});
|
||||
//cout <<x.concat(y);
|
||||
x.append(10.);
|
||||
cout <<x;
|
||||
x.concatme(y);
|
||||
cout <<x;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user