Skip to content

Commit

Permalink
fix unfused mps
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Jun 26, 2024
1 parent b91b773 commit 5eb75e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dmrg/mps_unfused.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ template <typename S, typename FL> struct UnfusedMPS {
vector<vector<shared_ptr<SparseTensor<S, FL>>>> wfns;
string canonical_form;
int center, n_sites, dot;
bool is_multi;
int nroots;
bool is_multi = false;
int nroots = 1;
vector<typename GMatrix<FL>::FP> weights;
UnfusedMPS() {}
UnfusedMPS(const shared_ptr<MPS<S, FL>> &mps) { this->initialize(mps); }
Expand Down

0 comments on commit 5eb75e9

Please sign in to comment.