Skip to content

Commit

Permalink
remove debug output (matrix_*.dat)
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Sep 9, 2023
1 parent e92ce6b commit 5c481fa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/iTPS/transfer_matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ std::vector<std::complex<double>> TransferMatrix<ptensor>::eigenvalues(
return eigvals;
}

static int nst = 0;
std::stringstream filename;
filename << "matrix_" << nst++ << ".dat";
std::ofstream fout(filename.str());

if (N <= params.maxdim_dense_eigensolver) {
ptensor matrix = dir == 0 ? matrix_horizontal(fixed_coord)
: matrix_vertical(fixed_coord);
Expand All @@ -110,7 +105,6 @@ std::vector<std::complex<double>> TransferMatrix<ptensor>::eigenvalues(
typename ptensor::value_type v;
matrix.get_value({row, col}, v);
matrix_2.set_value({row, col}, v);
fout << row << " " << col << " " << std::real(v) << std::endl;
}
}
std::vector<std::complex<double>> evecs;
Expand Down

0 comments on commit 5c481fa

Please sign in to comment.