Skip to content

Commit 39a4b1e

Browse files
committed
fix LV
1 parent f6c7fdf commit 39a4b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesflow/simulators/benchmark_simulators/lotka_volterra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ def observation_model(self, params: np.ndarray) -> np.ndarray:
116116
# Add noise, decide whether to flatten and return
117117
x = self.rng.lognormal(np.log(pp), sigma=self.obs_noise)
118118
if self.flatten:
119-
return x.flatten()
119+
return x.T.flatten()
120120
return x

0 commit comments

Comments
 (0)