Skip to content

Commit a936399

Browse files
committed
Fix parameter scale in sample_from_prior
Return sampled parameters on the parameter scale. This broke in #329 & #335.
1 parent 0e90fd9 commit a936399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petab/v1/sampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def sample_from_prior(
3333
bounds=tuple(bounds),
3434
transformation=scaling,
3535
)
36-
return prior.sample(shape=(n_starts,))
36+
return prior.sample(shape=(n_starts,), x_scaled=True)
3737

3838

3939
def sample_parameter_startpoints(

0 commit comments

Comments
 (0)