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

Feature/Add DMatrixRMaj#get2DData interface #194

Merged

Conversation

ee08b397
Copy link
Contributor

@ee08b397 ee08b397 commented Jul 4, 2023

Thank you for your contribution to the EJML project.

This PR is for Feature Request #193. DMatrixRMaj can be converted from a double-dimensional array (a 2D array doulbe[][]) in one of its constructors. But, not the other way around. This new interface DMatrixRMaj#get2DData will make DMatrixRMaj easier to use.

Before submitting this PR, please make sure:

  • Your code is covered by tests
  • You ran ./gradlew spotlessJavaApply

@ee08b397 ee08b397 requested a review from lessthanoptimal as a code owner July 4, 2023 03:46
@ee08b397 ee08b397 changed the title Feature/Add DMatrixRMaj#get2DData interface #193 Feature/Add DMatrixRMaj#get2DData interface Jul 4, 2023
Copy link
Owner

@lessthanoptimal lessthanoptimal left a comment

Choose a reason for hiding this comment

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

Couple of minor points. If you don't use IntelliJ I'll just do the formatting after it's merged.

@lessthanoptimal
Copy link
Owner

looks like spotless needs to be run again too. See error message for details. Thanks.

@ee08b397 ee08b397 requested a review from lessthanoptimal July 8, 2023 03:04
Copy link
Owner

@lessthanoptimal lessthanoptimal left a comment

Choose a reason for hiding this comment

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

LGTM

@lessthanoptimal
Copy link
Owner

Can you squash your PR into a single commit? Otherwise looks good!

@lessthanoptimal lessthanoptimal merged commit 03d1c29 into lessthanoptimal:SNAPSHOT Jul 8, 2023
@lessthanoptimal
Copy link
Owner

never mind. Git let me do it. Thanks for the contribution.

@ee08b397
Copy link
Contributor Author

ee08b397 commented Jul 10, 2023

Thanks for the review. Will squash in the future.
I know BitBucket and Azure have the PR merge option to squash first. Not sure if GitHub has that as well.

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