run clang-format with c++-11 style over that

This commit is contained in:
Greg Landrum
2017-04-22 17:19:10 +02:00
parent 7c0bb0b743
commit 915cf08faa
134 changed files with 917 additions and 1086 deletions

View File

@@ -49,8 +49,7 @@ void pyUpdateFromSequence(SparseIntVect<IndexType> &vect, python::object &seq) {
template <typename IndexType>
python::dict pyGetNonzeroElements(SparseIntVect<IndexType> &vect) {
python::dict res;
auto iter =
vect.getNonzeroElements().begin();
auto iter = vect.getNonzeroElements().begin();
while (iter != vect.getNonzeroElements().end()) {
res[iter->first] = iter->second;
++iter;