Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable reshape_generic for slices + other things #1180

Merged
merged 7 commits into from Jan 14, 2023

Commits on Jan 14, 2023

  1. Add U0, U1, ... dimension constants

    This allows us to simply write U4 in place of U4::name() or Const::<4>,
    like we used to be able to before const generics.
    Andlon authored and sebcrozet committed Jan 14, 2023
    Copy the full SHA
    19c9963 View commit details
    Browse the repository at this point in the history
  2. Rename Dynamic -> Dyn

    Provide a type alias to avoid breaking code. Make Dyn a
    tuple struct so that we can use the succinct syntax
    Dyn(n) instead of Dyn::new(n).
    Andlon authored and sebcrozet committed Jan 14, 2023
    Copy the full SHA
    4221c44 View commit details
    Browse the repository at this point in the history
  3. ReshapableStorage for slices + tests for owned reshape

    In the process of implementing ReshapbleStorage for SliceStorage(Mut),
    I discovered that there appears to be no tests for the existing
    reshape_generic functionality on owned matrices.
    Andlon authored and sebcrozet committed Jan 14, 2023
    Copy the full SHA
    afabf4b View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c506bd5 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    3508280 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    711ac67 View commit details
    Browse the repository at this point in the history
  7. Fix duplicate import

    sebcrozet committed Jan 14, 2023
    Copy the full SHA
    bcfc20c View commit details
    Browse the repository at this point in the history