Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Sep 10, 2023
1 parent 32cbd47 commit e066934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/iTPS/multisite_obs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ auto iTPS<ptensor>::measure_multisite()
indices[row][col] = index;
op_[row][col] = &(op_identity[index]);
Tn_[row][col] = &(Tn[index]);
shape_types[row * ncol + col] = tensor_shape_types[index];
}
eTl_[row] = &(eTl[indices[row][0]]);
eTr_[row] = &(eTr[indices[row][ncol - 1]]);
Expand Down
1 change: 1 addition & 0 deletions src/iTPS/twosite_obs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ auto iTPS<ptensor>::measure_twosite()
indices[row][col] = index;
op_[row][col] = &(op_identity[index]);
Tn_[row][col] = &(Tn[index]);
shape_types[row * ncol + col] = tensor_shape_types[index];
}
eTl_[row] = &(eTl[indices[row][0]]);
eTr_[row] = &(eTr[indices[row][ncol - 1]]);
Expand Down

0 comments on commit e066934

Please sign in to comment.