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

ENH: don't solve linear system twice in a row #7

Merged
merged 1 commit into from
Jun 28, 2014

Conversation

sglyon
Copy link
Member

@sglyon sglyon commented Jun 28, 2014

This is an extremely minor change.

On line 120 we write self.F = solve(S1, S2). Then on line 122 we call solve(S1, S2) again. This change just reuses the updated value of self.F instead of recomputing.

All the other changes that show up in the diff are just my editor removing trailing whitespace from lines.

jstac added a commit that referenced this pull request Jun 28, 2014
ENH: don't solve linear system twice in a row
@jstac jstac merged commit d056a22 into QuantEcon:master Jun 28, 2014
@jstac
Copy link
Contributor

jstac commented Jun 28, 2014

Thanks Spencer.

@sglyon sglyon deleted the minor_fix branch July 2, 2014 13:28
jstac added a commit that referenced this pull request Aug 25, 2014
ENH: don't solve linear system twice in a row
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