Skip to content

Matrix powers when the base domain is Rationals #6372

@cdwensley

Description

@cdwensley

Came across this while working on #6339.
If m1 := Matrix( Integers, [ [1,1], [0,1] ] ); then m1^2 is calculated correctly.
But if m1 := Matrix( Rationals, [ [1,1], [0,1] ] ); then m1^2 throws an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugIssues describing general bugs, and PRs fixing themkind: bug: unexpected errorIssues describing bugs in which computation unexpectedly encounters an error, and PRs fixing themtopic: library

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions