gcross / Nutcracker

An efficient 1D quantum physics simulation system using matrix product states.

Home Page:http://gcross.github.com/Nutcracker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unclear error message

sflammia opened this issue · comments

"Assertion failed: (operator_site_ptr->leftDimension(as_unsigned_integer) == operator_sites.back()->rightDimension(as_unsigned_integer)), function constructOperatorFrom, file /Users/gcross/Projects/Nutcracker/sources/common/io.cpp, line 58.
Abort trap"

What?

FYI, that means that one of your site's right dimension is disagreeing with its neighbor's left dimension.

Just to clarify, currently I'm editing the YAML text file directly by hand. I find this is a very difficult format in which to program correctly the first time through. It is far too verbose for me, and so I make mistakes pretty easily.

Fixed by commit c74e251.