Skip to content

Fix copy aliasing bugs#886

Merged
paciorek merged 5 commits into
develfrom
fix-overlapping-copy-alias-bug
May 23, 2019
Merged

Fix copy aliasing bugs#886
paciorek merged 5 commits into
develfrom
fix-overlapping-copy-alias-bug

Conversation

@perrydv
Copy link
Copy Markdown
Contributor

@perrydv perrydv commented May 20, 2019

This PR fixes some bugs with copying when the LHS and RHS involve the same variable. There were two sources of bugs:

  • Lack of an Eigen .eval() being inserted in some cases.
  • Lack of an intermediate variable being inserted during size processing in some cases.

Examples of the bugs now fixed are in the aliasTests list added to test-coreR.R

@perrydv
Copy link
Copy Markdown
Contributor Author

perrydv commented May 20, 2019

@paciorek @danielturek The copying bugs I emailed you about were a bit bigger than I first realized. This PR fixes them.

@paciorek
Copy link
Copy Markdown
Contributor

Ready to merge in?

@perrydv
Copy link
Copy Markdown
Contributor Author

perrydv commented May 23, 2019

I think so.

@paciorek paciorek merged commit 01108af into devel May 23, 2019
@paciorek paciorek deleted the fix-overlapping-copy-alias-bug branch May 23, 2019 16:24
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