From 5c481fab3a8975716f8d1b23d7a894a31ecec3bd Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Sat, 9 Sep 2023 22:54:05 +0900 Subject: [PATCH] remove debug output (matrix_*.dat) --- src/iTPS/transfer_matrix.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/iTPS/transfer_matrix.cpp b/src/iTPS/transfer_matrix.cpp index b6be27ae..07f6ea62 100644 --- a/src/iTPS/transfer_matrix.cpp +++ b/src/iTPS/transfer_matrix.cpp @@ -95,11 +95,6 @@ std::vector> TransferMatrix::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); @@ -110,7 +105,6 @@ std::vector> TransferMatrix::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> evecs;