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

Bug Fixed : Matrix power of identity matrix fails #9823 #9828

Closed
wants to merge 1 commit into from

Conversation

kevalds51
Copy link
Contributor

Bug Fixed : Matrix power of identity matrix fails #9823

@@ -116,6 +116,8 @@ def __pow__(self, other):
return Identity(self.rows)
elif other is S.One:
return self
elif self.is_Identity == True:
Copy link
Member

Choose a reason for hiding this comment

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

elif self.is_Identity is sufficient.

@moorepants
Copy link
Member

Please add a unit test that exercises this code change.

@kevalds51 kevalds51 closed this Aug 14, 2015
@kevalds51 kevalds51 reopened this Aug 14, 2015
@kevalds51
Copy link
Contributor Author

My bad.
Did some other important changes too that i missed earlier.
I will close this request and start a new one

@kevalds51 kevalds51 closed this Aug 14, 2015
@moorepants
Copy link
Member

There is no need to close this request. Just push your changes to the same branch and this PR will update.

@kevalds51
Copy link
Contributor Author

Ok. New to GIT, but I get it now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants