bugfix in NRMat:: rsum() and csum()

This commit is contained in:
2024-02-08 15:01:06 +01:00
parent 684c1cde5d
commit 7172e26a50
3 changed files with 31 additions and 27 deletions

8
t.cc
View File

@@ -2461,7 +2461,7 @@ Polynomial<double> pp({1,2,3,4,5});
cout<<pp;
}
if(1)
if(0)
{
//prepare random symmetric mat3
int seed;
@@ -3153,8 +3153,12 @@ for(int i=0; i<a.size(); ++i)
}
}
if(0)
if(1)
{
NRMat<double> a;
cin>>a;
cout <<a.rsum()<<endl;
cout <<a.csum()<<endl;
}