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

formatted errors, factored code #129

Merged
merged 2 commits into from
Nov 2, 2014
Merged

formatted errors, factored code #129

merged 2 commits into from
Nov 2, 2014

Conversation

Dakkers
Copy link
Contributor

@Dakkers Dakkers commented Oct 10, 2014

additions to #128 . I probably forgot to update the src/ at the very end, shit.

@Dakkers
Copy link
Contributor Author

Dakkers commented Oct 18, 2014

cc @LarryBattle

@LarryBattle
Copy link
Contributor

Looks good.
Private methods, like matrix._sumNondiagonalElements(), don't really have need to be exposed. So I would just declare them inside the module without attaching them to the export object.

@Dakkers
Copy link
Contributor Author

Dakkers commented Oct 26, 2014

right right, will update the exports.

most of the code thus far is written like that. I agree it is weird but I would rather be consistent (as it stands now) and kinda weird than have to rewrite all of the error-throwing blocks. although maybe we could just use jsfmt, if it supports that kind of thing.

@Dakkers
Copy link
Contributor Author

Dakkers commented Nov 2, 2014

@LarryBattle I'm going to merge this for now because I want to get the linalg functions started. we can come back to this later if need be.

Dakkers added a commit that referenced this pull request Nov 2, 2014
formatted errors, factored code
@Dakkers Dakkers merged commit fe4da72 into numbers:master Nov 2, 2014
@LarryBattle
Copy link
Contributor

Sounds good. I'll try to help out if I have sometime.

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