Permalink
Browse files

Change EQ_TOLERANCE from 1e-12 to 1e-8 (#487)

* change EQ_TOLERANCE from 1e-12 to 1e-8

* add back debug line
  • Loading branch information...
kevinsung authored and babbush committed Nov 14, 2018
1 parent 3359fee commit 40ee750c29c5302029269924003b1aa9d2bfcaec
Showing with 2 additions and 1 deletion.
  1. +1 −0 dev_tools/packaging/verify-published-package.sh
  2. +1 −1 src/openfermion/config.py
@@ -82,6 +82,7 @@ for PYTHON_VERSION in python2 python3; do
"${tmp_dir}/${PYTHON_VERSION}/bin/python" -c "import openfermion; print(openfermion.QubitOperator((1, 'X')))"
# Run tests.
echo Installing pytest
"${tmp_dir}/${PYTHON_VERSION}/bin/pip" install --quiet pytest
PY_VER=$(ls "${tmp_dir}/${PYTHON_VERSION}/lib")
echo Running tests
@@ -13,7 +13,7 @@
import os
# Tolerance to consider number zero.
EQ_TOLERANCE = 1e-12
EQ_TOLERANCE = 1e-8
# Molecular data directory.
THIS_DIRECTORY = os.path.dirname(os.path.realpath(__file__))

0 comments on commit 40ee750

Please sign in to comment.