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

simplify loading call #132

Merged
merged 1 commit into from
Nov 10, 2017
Merged

simplify loading call #132

merged 1 commit into from
Nov 10, 2017

Conversation

mjburton11
Copy link

No description provided.

@mjburton11
Copy link
Author

test models please

1 similar comment
@mjburton11
Copy link
Author

test models please

@mjburton11 mjburton11 requested a review from bqpd November 10, 2017 19:22
Copy link
Contributor

@bqpd bqpd left a comment

Choose a reason for hiding this comment

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

some of the code seems like it could be cleaner, whether that's on your end or my end I don't know.

@@ -22,7 +22,7 @@ def new_qbarFun(self, c):
barc = self.static["\\bar{c}"]
return [f(c) for f in self.static.substitutions[barc]]

def setup(self, static, Wcent):
def setup(self, static, Wcent=None):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is Wcent even an argument?

FitCS(df, agust, [cosminus1*vgust/V]),
V == v,
CL == cl,
Ww == Wwing,
Copy link
Contributor

Choose a reason for hiding this comment

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

why are these necessary?

Copy link
Author

Choose a reason for hiding this comment

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

for backwards compatibility so I don't break jho and gassolar

Copy link
Author

Choose a reason for hiding this comment

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

I'll fix gassolar and jho once this is done

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd be tempted to make their usage of this more hacky (repeating arguments or w/e) rather than have confusing code in gplibrary...

@mjburton11 mjburton11 merged commit 79dfb7c into master Nov 10, 2017
@mjburton11 mjburton11 deleted the loadfix branch November 10, 2017 19:29
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