From 5eb75e989507012e895815d7d04715bc6ec9778c Mon Sep 17 00:00:00 2001 From: Huanchen Zhai Date: Wed, 26 Jun 2024 01:23:08 -0700 Subject: [PATCH] fix unfused mps --- src/dmrg/mps_unfused.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dmrg/mps_unfused.hpp b/src/dmrg/mps_unfused.hpp index c5a10743..4d89b3dc 100644 --- a/src/dmrg/mps_unfused.hpp +++ b/src/dmrg/mps_unfused.hpp @@ -377,8 +377,8 @@ template struct UnfusedMPS { vector>>> wfns; string canonical_form; int center, n_sites, dot; - bool is_multi; - int nroots; + bool is_multi = false; + int nroots = 1; vector::FP> weights; UnfusedMPS() {} UnfusedMPS(const shared_ptr> &mps) { this->initialize(mps); }