Skip to content

Conversation

dkrenn
Copy link
Contributor

@dkrenn dkrenn commented May 26, 2023

For recognizable series the input is handled differently for matrices and vectors. This easy patch unifies this.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo a minor speed point with making two copies of the matrix (the second one being made with immutable).. You simply can change

-mu = dict((a, immutable(Matrix(M))) for a, M in mu.items())
+mu = dict((a, Matrix(M, immutable=True)) for a, M in mu.items())

Co-authored-by: Travis Scrimshaw <clfrngrown@aol.com>
@github-actions
Copy link

Documentation preview for this PR (built with commit a10ce8c) is ready! 🎉

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. Just cc me on any followup tickets once its ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants