fixed seed added to tests

This commit is contained in:
Fabian Joswig 2021-10-15 13:05:00 +01:00
parent 1b63f5dd3b
commit bb9790acd7
4 changed files with 12 additions and 1 deletions

View file

@ -9,6 +9,8 @@ from scipy.odr import ODR, Model, Data, RealData
import pyerrors as pe
import pytest
np.random.seed(0)
def test_standard_fit():
dim = 10 + int(30 * np.random.rand())
x = np.arange(dim)