◆ save() [2/2]

template<class Archive >
void syten::MPS::DMRG::Worker::save ( Archive &  ar,
const unsigned int  v 
) const

Overload to satisfy Boost.

Boost archives require const save() functions, but we have to load contractions (and the state) from disk, hence const_cast<> away the constness and then call the actual save() function.

Definition at line 290 of file dmrg_worker.h.

References syten::save().

+ Here is the call graph for this function: