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

Fix for creating square matrices and added identity property to the Matrix function #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarkRedeman
Copy link

The Matrix constructor used the (undefined) cols variable when creating the appropriate array instead of this.cols.

There was a isIdentity parameter in the Matrix constructor but it wasn't used. I added the Matrix.identity(size).

…atrix function

The Matrix constructor used the (undefined) cols variable when creating the appropriate array instead of this.cols.

There was a isIdentity parameter in the Matrix constructor but it wasn't used. I added the Matrix.identity(size).
@rockbot
Copy link
Owner

rockbot commented Sep 26, 2013

Hi - thanks!! Please add some tests for your code - it'll not only make sure your code works the way you think it does, but it'll also help newcomers know how to use the functionality you've provided :-)

Holler if you have questions!

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.

2 participants