Skip to content

Commit 2403bfe

Browse files
authored
TYPO: fix random call in example (#973)
1 parent 7b563a8 commit 2403bfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/core_examples/linear_regression_with_Fisher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def model(time, m, c):
3737
time = np.arange(0, time_duration, 1 / sampling_frequency)
3838
N = len(time)
3939
sigma = random.rng.normal(1, 0.01, N)
40-
data = model(time, **injection_parameters) + random.normal(0, sigma, N)
40+
data = model(time, **injection_parameters) + random.rng.normal(0, sigma, N)
4141

4242
# Now lets instantiate a version of our GaussianLikelihood, giving it
4343
# the time, data and signal model

0 commit comments

Comments
 (0)