richard-evans / vampire

Atomistic simulator for magnetic materials
GNU General Public License v2.0
122 stars 92 forks source link

core dumped #47

Open ishfaq333 opened 4 years ago

ishfaq333 commented 4 years ago

Hello there, I was running the program unit-cell-creator.cpp for const int num_materials=2; the results are good but when I change the value form 2 to 1, it shows core dumped:

terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 1) >= this->size() (which is 1) Aborted (core dumped)

Please help