Skip to content
Snippets Groups Projects
Commit e7d476eb authored by romanellerbrock's avatar romanellerbrock
Browse files

Bug fix.

parent 90e68224
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ void FactorMatrixTree<T>::Initialize(const TTBasis& basis) {
attributes.clear();
for (const Node& node : basis) {
const TensorDim& tdim = node.TDim();
const size_t dim = tdim.getntensor();
const size_t dim = tdim.GetNumTensor();
const auto k = (size_t) node.ChildIdx();
FactorMatrix<T> mat(dim, k);
attributes.push_back(mat);
......
......@@ -33,7 +33,7 @@ void HoleMatrixTree<T>::Initialize(const TTBasis& basis) {
attributes.clear();
for (const Node& node : basis) {
const TensorDim& tdim = node.TDim();
size_t n = tdim.getntensor();
size_t n = tdim.GetNumTensor();
attributes.emplace_back(Matrix<T>(n, n));
}
}
......
......@@ -13,7 +13,7 @@ void SparseFactorMatrixTree<T>::Initialize(const TTBasis& basis) {
attributes.clear();
for (const Node *const node_ptr : Active()) {
const Node& node = *node_ptr;
size_t dim = node.TDim().getntensor();
size_t dim = node.TDim().GetNumTensor();
attributes.emplace_back(FactorMatrix<T>(dim, node.ChildIdx()));
}
}
......
......@@ -18,7 +18,7 @@ void SparseHoleMatrixTree<T>::Initialize(const TTBasis& basis) {
attributes.clear();
for (const Node *const node_ptr : Active()) {
const Node& node = *node_ptr;
size_t dim = node.TDim().getntensor();
size_t dim = node.TDim().GetNumTensor();
attributes.emplace_back(Matrix<T>(dim, dim));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment