fixed C-fortran index shift in cblas_idamax etc.

This commit is contained in:
2025-01-22 15:57:30 +01:00
parent 4cf7dbb8c7
commit 9bb4fc883b
5 changed files with 44 additions and 31 deletions

15
t.cc
View File

@@ -3421,7 +3421,7 @@ Tensor<double> bb(b);
cout << aa*bb;
}
if(1)
if(0)
{
int seed;
int f=open("/dev/random",O_RDONLY);
@@ -3440,4 +3440,17 @@ cout <<b;
cout <<c;
}
if(1)
{
NRMat<double> m;
cin >>m;
NRVec<double> v(m);
cout <<v;
NRMat<double> mm(v,m.nrows(),m.ncols());
cout <<mm;
cout <<m.getcount()<<" "<<v.getcount()<<" "<<mm.getcount()<<endl;
}
}