Skip to content
Snippets Groups Projects

[python] Use the same default index merging strategies as C++

Closed Oliver Sander requested to merge fix-default-index-merging-strategy into master

Using composite or power nodes in C++ yields blocked multi-indices by default. So far, however, the Python interface used flat indices by default. This violates the Principle of Least Surprise, and there this commit changes the Python defaults to match those of the C++ interface.

To make the tests pass even with the new defaults, this MR also implements the size methods of DefaultGlobalBasis.

Edited by Oliver Sander

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading