java-algorithms-implementation icon indicating copy to clipboard operation
java-algorithms-implementation copied to clipboard

Fixed #168. Refactor: Removed unneeded for-loops from Matrix.add and Matrix.subtract

Open akerfel opened this issue 2 years ago • 0 comments

The inner-most for-loops in the Matrix.add and Matrix.subtract functions are not needed. This pull request removes them. All tests still pass. See more details in issue #168 (created by me).

By submitting this pull request I confirm I've read and complied with the below requirements.

  • [x] I have read the Contribution guidelines and I am confident that my PR reflects them.
  • [x] I have followed the coding guidelines for this project.
  • [x] My code follows the skeleton code structure.
  • [x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

akerfel avatar Mar 09 '22 01:03 akerfel