Fix naive implementation, NH3 working for both

This commit is contained in:
2021-11-04 16:10:23 +01:00
parent a5619146f0
commit 7b617930a6
3 changed files with 159 additions and 163 deletions

View File

@@ -102,7 +102,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) {
LOG(0,"Atrip") << "#iterations: "
<< nIterations
<< "/"
<< _all_tuples
<< nIterations * np
<< "\n";
}
@@ -291,8 +291,6 @@ Atrip::Output Atrip::run(Atrip::Input const& in) {
: tuplesList[i]
, *abcNext = i == (tuplesList.size() - 1)
? nullptr
: isFakeTuple(i + 1)
? &tuplesList[tuplesList.size() - 1]
: &tuplesList[i + 1]
;