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

BUG: financial.pmt modifies input #8055 #8087

Merged
merged 1 commit into from
Sep 23, 2016
Merged

Conversation

hodgka
Copy link

@hodgka hodgka commented Sep 23, 2016

financial.pmt masked rate array in place, changing original rate array.
Changed to mask to a new array, preserving the original array.

@charris
Copy link
Member

charris commented Sep 23, 2016

Looks good. Could you squash your two commits into one? If you don't know how to do that, ask.

@hodgka
Copy link
Author

hodgka commented Sep 23, 2016

What's the easiest way to do that?

@charris
Copy link
Member

charris commented Sep 23, 2016

For your case git rebase -i HEAD^^ which will bring up an editor with some documentation. Replace pick by s in the second commit, save and quit. The do a force push git push -f origin HEAD.

financial.pmt masked rate array in place, changing rate array.
Changed to mask to a new array, preserving the original rate array.
@charris
Copy link
Member

charris commented Sep 24, 2016

Well, that's interesting, this PR has picked up fixes for the nose documentation also... Ah, I see the problem, you are merging from master, a big no-no, always work in a branch. Well, now your fork master has a divergent history from the master NumPy repository, so you may want to delete it after this and refork. But this is mergeable, so let's see what happens.

Looks OK. Thanks @hodgka .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants