Skip to content

Commit ca52fc0

Browse files
committed
flip integration times for correct direction of integration
1 parent bdb27e8 commit ca52fc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bayesflow/experimental/diffusion_model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,8 @@ def _forward(
552552
) -> Tensor | tuple[Tensor, Tensor]:
553553
integrate_kwargs = (
554554
{
555-
"start_time": 0.0,
556-
"stop_time": 1.0,
555+
"start_time": 1.0,
556+
"stop_time": 0.0,
557557
}
558558
| self.integrate_kwargs
559559
| kwargs
@@ -601,8 +601,8 @@ def _inverse(
601601
) -> Tensor | tuple[Tensor, Tensor]:
602602
integrate_kwargs = (
603603
{
604-
"start_time": 1.0,
605-
"stop_time": 0.0,
604+
"start_time": 0.0,
605+
"stop_time": 1.0,
606606
}
607607
| self.integrate_kwargs
608608
| kwargs

0 commit comments

Comments
 (0)