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 1fe2c60 commit a771e32Copy full SHA for a771e32
bayesflow/utils/integrate.py
@@ -906,10 +906,6 @@ def _apply_corrector(
906
if corrector_steps <= 0:
907
return new_state
908
909
- # Ensures score_fn and noise_schedule are present if needed, though checked in integrate_stochastic
910
- if score_fn is None or noise_schedule is None:
911
- return new_state # Should not happen if checks are passed
912
-
913
for j in range(corrector_steps):
914
score = score_fn(new_time, **filter_kwargs(new_state, score_fn))
915
_z_corr = {k: corrector_noise_history[k][i, j] for k in new_state.keys()}
0 commit comments