Skip to content

Commit 57f925f

Browse files
committed
Make installation less weird
1 parent a913369 commit 57f925f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
case-name: [Windows - numpy fallback]
3232
# Version 2 not yet available on conda's default channel
3333
condaforge: [1]
34-
numpy-build: [">=2.0.0"]
34+
numpy-build: [">=1.24,<1.25"]
3535
numpy-requirement: [">=1.24,<1.25"]
3636
scipy-requirement: [">=1.9"]
3737
coverage-requirement: ["==6.5"]
@@ -141,7 +141,7 @@ jobs:
141141
# We only have 2 physical cores, but we want to test mpi_pmap with 2 workers.
142142
export OMPI_MCA_rmaps_base_oversubscribe=true
143143
fi
144-
pytest -Werror --strict-config --strict-markers --fail-slow=300 --durations=0 --durations-min=1.0 --verbosity=1 --cov=qutip --cov-report= --color=yes ${{ matrix.pytest-extra-options }} -k "test_MCSolver_stepping" -s qutip/tests
144+
pytest -Werror --strict-config --strict-markers --fail-slow=300 --durations=0 --durations-min=1.0 --verbosity=1 --cov=qutip --cov-report= --color=yes ${{ matrix.pytest-extra-options }} -k "test_MCSolver_stepping or test_rand_super" -s qutip/tests
145145
# Above flags are:
146146
# -Werror
147147
# treat warnings as errors

qutip/solver/integrator/scipy_integrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def _one_step(self, t):
456456
if np.isnan(self._ode_solver._y).any():
457457
print(' - after integrate 2 (', self._ode_solver.get_return_code(), '): ', np.isnan(self._ode_solver._y).any())
458458
t_ode_new = self._ode_solver.t
459-
print("ALERT: new t_ode: ", t_ode_new, " --- successful: ", self._ode_solver.successful())
459+
print("ALERT: old t_ode: ", t_ode, ", new t_ode: ", t_ode_new, " --- successful: ", self._ode_solver.successful())
460460
elif t > self._front:
461461
# The state is at a time before t_front, advance to t_front
462462
if t_ode > 0.16:

0 commit comments

Comments
 (0)