We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c7fdf commit 39a4b1eCopy full SHA for 39a4b1e
bayesflow/simulators/benchmark_simulators/lotka_volterra.py
@@ -116,5 +116,5 @@ def observation_model(self, params: np.ndarray) -> np.ndarray:
116
# Add noise, decide whether to flatten and return
117
x = self.rng.lognormal(np.log(pp), sigma=self.obs_noise)
118
if self.flatten:
119
- return x.flatten()
+ return x.T.flatten()
120
return x
0 commit comments