tensor: index name preservation in tucker

This commit is contained in:
2025-11-20 16:41:57 +01:00
parent e867a7a8c9
commit d136c2314d
2 changed files with 18 additions and 0 deletions

1
t.cc
View File

@@ -4440,6 +4440,7 @@ for(int i=0; i<r; ++i)
}
Tensor<double> x(shape);
x.randomize(1.);
x.defaultnames();
cout<<x;
Tensor<double> x0(x);
x0.copyonwrite();