-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid oversized arrays in scaling tests
Arrays for testing the scaling functions with random matrices were only allocated once with the maximum dimensions of all possibly generated matrices. That makes it simple, but unfortunately also has the potential to hide possible bugs, as seen in #211 and #213. To improve the chance to detect such bugs, this reallocates the arrays to the exact dimensions for each current test case.
- Loading branch information
Showing
1 changed file
with
54 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters