Skip to content

Commit 9c35a89

Browse files
authored
Swap order
1 parent 32d9aef commit 9c35a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def step(
446446

447447
current_sigma = per_token_sigmas[..., None]
448448
next_sigma = lower_sigmas[..., None]
449-
dt = next_sigma - current_sigma # Equivalent to sigma_next - sigma
449+
dt = current_sigma - next_sigma
450450
else:
451451
sigma_idx = self.step_index
452452
sigma = self.sigmas[sigma_idx]

0 commit comments

Comments
 (0)