Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into cm/jump_operators
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles MOUSSA committed Nov 20, 2024
2 parents 86f87b3 + b7f775e commit 00ac3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyqtorch/differentiation/gpsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def multi_gap_shift(
spectral_gaps = spectral_gaps.to(device=device)
PI = torch.tensor(torch.pi, dtype=dtype)
shifts = shift_prefac * torch.linspace(
PI / 2.0 - PI / 5.0, PI / 2.0 + PI / 5.0, n_eqs, dtype=dtype
PI / 2.0 - PI / 4.0, PI / 2.0 + PI / 5.0, n_eqs, dtype=dtype
)
shifts = shifts.to(device=device)

Expand Down

0 comments on commit 00ac3df

Please sign in to comment.