Skip to content
Snippets Groups Projects

adapt to numpy2

Merged Mads M. Pedersen requested to merge numpy2 into master
  • implement gradients.sign as numpy2.sign returns x/abs(x) which gives an undesired imag part that does not work with cs
  • np.linspace does not accept xr.DataArray element, so add .item()

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading