test: add tests to ndarray/base/nullary#2609
Conversation
|
@kgryte In 3d, the incorrect strides were causing the |
@headlessNode To clarify, your comment concerns |
|
@kgryte both. I tried different combinations of strides with 4d (for my understanding) and came to the above conclusion. |
Still not sure I follow. Are you saying that there are bugs in the 3d tests that need to be fixed? Or that you needed to make modifications to the 3d tests to make them work for 4d? In the current PR, you only have 4d test changes, so I am assuming the latter, but your comments suggest otherwise. |
|
@headlessNode Did a review. Some of the strides were off, but I've now fixed these. It may be worthwhile if you use the stdlib REPL to help inform the strides. $ make replOnce in the REPL, From there, you can scale the strides as necessary to get non-contiguity, as desired. |
|
@kgryte Thanks for the review and suggestion. Also sorry for the confusion, I should've phrased it differently. There's no bug, I was sharing my "findings" about why some strides work and some don't. |
Description
This pull request:
@stdlib/ndarray/base/nullary/test/test.4d.jsfor 100% test coverageRelated Issues
This pull request:
@stdlib/ndarray/base/nullary#2229Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers