
* add recipe for improved-rdock
* style: fix format
* style: fix format again
* Fix location of the directory
* Fix copyright
* Fix according to the reviewer's comments.
* Revert "Fix according to the reviewer's comments."
This reverts commit 4877877daf
.
* Fix according to the reviewer's comments.
* style: fix format
* Update var/spack/repos/builtin/packages/improved-rdock/package.py
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Co-authored-by: Yuichi Otsuka <otsukay@riken.jp>
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
22 lines
816 B
Diff
22 lines
816 B
Diff
diff -u -r -N a/src/lib/RbtBaseMolecularFileSource.cxx b/src/lib/RbtBaseMolecularFileSource.cxx
|
|
--- a/src/lib/RbtBaseMolecularFileSource.cxx 2018-03-28 16:38:36.000000000 +0900
|
|
+++ b/src/lib/RbtBaseMolecularFileSource.cxx 2021-02-01 20:20:04.688973560 +0900
|
|
@@ -420,7 +420,7 @@
|
|
#ifdef _VISUAL_STUDIO
|
|
but_iterator = std::remove(atList.begin(), atList.end(), _MANDATORY);
|
|
#else
|
|
- std::remove(atList.begin(), atList.end(), _MANDATORY);
|
|
+ atList.erase(std::remove(atList.begin(), atList.end(), _MANDATORY), atList.end());
|
|
#endif
|
|
|
|
}
|
|
@@ -440,7 +440,7 @@
|
|
#ifdef _VISUAL_STUDIO
|
|
but_iterator = std::remove(atList.begin(), atList.end(), _FORBIDDEN);
|
|
#else
|
|
- std::remove(atList.begin(), atList.end(), _FORBIDDEN);
|
|
+ atList.erase(std::remove(atList.begin(), atList.end(), _FORBIDDEN), atList.end());
|
|
#endif
|
|
|
|
}
|