Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Minor change of the file sweeps.h #106
Conversation
|
Hi Mingpu, this is a nice idea. One question is, this seems to rely on a certain behavior of the line |
|
Hi Miles, thanks. I think ifstream ignores white spaces. So if there are white spaces at the end of the file, the value of maxm_[i] will be the default value when it is declared, which is 0 for std::vector. |
|
Thanks Mingpu - I hope it doesn't lead to any surprising behavior but it is definitely an improvement to the current behavior! |
emstoudenmire
merged commit 4df7b8c
into ITensor:master
Jul 9, 2016
emstoudenmire
added a commit
that referenced
this pull request
Sep 5, 2016
|
|
emstoudenmire |
11a8358
|
mingpu commentedJun 29, 2016
Minor change of the file sweeps.h. Now if the number of row of sweep parameters in the input file is less than nsweep, the last row will repeat.