Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09fa9a9

Browse files
committed
Add a comment about the implementation of array_view
1 parent 5cc03bf commit 09fa9a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/numpy_cpp.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ class array_view_accessors<AV, T, 3>
331331

332332
};
333333

334+
// When adding instantiations of array_view_accessors, remember to add entries
335+
// to zeros[] below.
336+
334337
}
335338

336339
static npy_intp zeros[] = { 0, 0, 0 };

0 commit comments

Comments
 (0)