Read about our upcoming Code of Conduct on this issue

Commit 7d52b484 authored by Pierre Augier's avatar Pierre Augier
Browse files

Fix tests on Windows (conda-forge) + 0.5.0.post0

parent 6d16df73b6cd
Pipeline #27279 failed with stage
in 12 minutes and 58 seconds
......@@ -864,8 +864,8 @@ class TimeCorrelatedRandomPseudoSpectral(RandomSimplePseudoSpectral):
self._seed1 = int(seed1)
else:
self.t_last_change = self.sim.time_stepping.t
self._seed0 = np.random.randint(0, 2 ** 32)
self._seed1 = np.random.randint(0, 2 ** 32)
self._seed0 = np.random.randint(0, 2 ** 31)
self._seed1 = np.random.randint(0, 2 ** 31)
self._save_state()
np.random.seed(self._seed0)
......@@ -895,7 +895,7 @@ class TimeCorrelatedRandomPseudoSpectral(RandomSimplePseudoSpectral):
self.t_last_change = tsim
self._seed0 = self._seed1
self.forcing0 = self.forcing1
self._seed1 = np.random.randint(0, 2 ** 32)
self._seed1 = np.random.randint(0, 2 ** 31)
self.forcing1 = self.compute_forcingc_raw()
self._save_state()
......
__version__ = "0.5.0"
__version__ = "0.5.0.post0"
......@@ -88,7 +88,9 @@ else:
devstatus = "Development Status :: 5 - Production/Stable"
install_requires = [
f"fluidsim-core>={__version__}",
# f"fluidsim-core>={__version__}",
# temporary for 0.5.0.post0
"fluidsim-core>=0.5.0",
"h5py",
"h5netcdf",
"transonic>=0.4.3",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment