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

Closes #2 - q - dividend yield - and cp - call/put flag - were not handled correctly. #3

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

erkandem
Copy link
Owner

@erkandem erkandem commented Apr 8, 2020

the matlab reference isscalar was ported to np.size() == 1
but only used for r -the risk free rate.
It should have been used for q and cp, too.

erkandem added 2 commits April 8, 2020 20:57
…rrectly.

the matlab reference `isscalar` was ported to `np.size() == 1`
but only used for `r` -the risk free rate.
It should have been used for `q` and `cp`, too.
@erkandem erkandem merged commit 1cd7543 into master Apr 8, 2020
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.

1 participant