Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
ebcd9740
Commit
ebcd9740
authored
Feb 24, 2017
by
peastman
Committed by
GitHub
Feb 24, 2017
Browse files
Merge pull request #1748 from peastman/errors
Fixed failing tests
parents
8469621f
7866986b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.travis.yml
.travis.yml
+2
-1
tests/TestDispersionPME.h
tests/TestDispersionPME.h
+1
-1
No files found.
.travis.yml
View file @
ebcd9740
...
@@ -105,7 +105,8 @@ before_install:
...
@@ -105,7 +105,8 @@ before_install:
-
wget https://anaconda.org/omnia/ccache/3.2.4/download/${TRAVIS_OS_NAME}-64/ccache-3.2.4-0.tar.bz2
-
wget https://anaconda.org/omnia/ccache/3.2.4/download/${TRAVIS_OS_NAME}-64/ccache-3.2.4-0.tar.bz2
-
mkdir -p $HOME/ccache && tar xf ccache-3.2.4-0.tar.bz2 -C $HOME/ccache
-
mkdir -p $HOME/ccache && tar xf ccache-3.2.4-0.tar.bz2 -C $HOME/ccache
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install doxygen fftw;
brew install fftw;
brew install -y https://raw.githubusercontent.com/Homebrew/homebrew-core/5b680fb58fedfb00cd07a7f69f5a621bb9240f3b/Formula/doxygen.rb;
sudo easy_install pytest;
sudo easy_install pytest;
fi
fi
-
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
-
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
...
...
tests/TestDispersionPME.h
View file @
ebcd9740
...
@@ -1758,7 +1758,7 @@ void testWater125DpmeVsLongCutoffNoExclusions() {
...
@@ -1758,7 +1758,7 @@ void testWater125DpmeVsLongCutoffNoExclusions() {
// is just 1.062 kJ/mol. The difference is due to the fact that arithmetic mean combination rules are used
// is just 1.062 kJ/mol. The difference is due to the fact that arithmetic mean combination rules are used
// up to the cutoff, while the reciprocal space uses the geometric mean. See DOI: 10.1021/acs.jctc.5b00726
// up to the cutoff, while the reciprocal space uses the geometric mean. See DOI: 10.1021/acs.jctc.5b00726
ASSERT_EQUAL_TOL
(
refenergy
,
energy
,
5E-
6
);
ASSERT_EQUAL_TOL
(
refenergy
,
energy
,
5E-
5
);
ASSERT_EQUAL_TOL
(
gromacs_energy
,
energy
,
5E-4
);
ASSERT_EQUAL_TOL
(
gromacs_energy
,
energy
,
5E-4
);
for
(
int
n
=
0
;
n
<
numAtoms
;
++
n
)
for
(
int
n
=
0
;
n
<
numAtoms
;
++
n
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment