Skip to content

move linalg funcs to linalg module - #4719

Closed
jbrockmendel wants to merge 2 commits into
statsmodels:masterfrom
jbrockmendel:linalg
Closed

jbrockmendel wants to merge 2 commits into
statsmodels:masterfrom
jbrockmendel:linalg

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

@kshedden we discussed this briefly in #4686. This is nearly cut/paste, the exceptions being:

  • flake8 fixups to whitespace in the smw functions
  • de-privatized each of the moved functions except for _dot (because numpy's dot is already in the namespace)

@coveralls

coveralls commented Jun 7, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.03%) to 83.884% when pulling 049f14c on jbrockmendel:linalg into 3261eea on statsmodels:master.

@josef-pkt

Copy link
Copy Markdown
Member

If you do a reformatting during move, then git will not be able to keep track of the move.
moving should usually be a clean copy first and then the fixup, then git can figure out the the clean copy is just delete and add somewhere elst the same piece of code.
(that's in git, although github doesn't follow moves)

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

OK, I'll revert the small edits for this round, thanks.

@josef-pkt

Copy link
Copy Markdown
Member

You can still make the edits and required adjustments. But do them in a second commit after the cut-paste, then it will go into the git history as regular change to the moved code.

(I said "copy" in my previous comment, I meant "move", which in terms of git is cut and paste or delete and add.)

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@kshedden I think the git-history concerns have been addressed, so it's all you buddy

@jbrockmendel
jbrockmendel deleted the linalg branch August 25, 2018 19:34
@bashtage bashtage added the rejected Used for PRs with changes that are not acceptable label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rejected Used for PRs with changes that are not acceptable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants