Skip to content

Commit 3eb3520

Browse files
revise rule 5 to match finite-state-machine
1 parent d62beae commit 3eb3520

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/binsparse/c_bindings/binsparse_matrix.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ bc_type_code ;
362362
// axis is sorted. There's no need for the pointer for the Hyper
363363
// axis, since all objects to the right have the same size.
364364
//
365-
// (5) Like rule 1, once "Index" appears, the remaining formats to the right
365+
// (5) If "Index" appears, the format immediately to the right
366366
// must be "Sparse, "Index" or "Full". This is because "Index" has no
367-
// pointer so all formats to the right must have a known size, or be a
368-
// list like (Index, Index, Full) where the total size is given nindex
369-
// [...]. "Sparse" has known size: it is the entire dimension.
367+
// pointer so the format immediately to the right must have a known size.
368+
// "Sparse" has known size: it is the entire size of its axis. Thus,
369+
// (..., Index, Hyper, ...) is not valid.
370370
//
371371
// (6) (..., Hyper, Sparse, ...) can be defined but is not useful.
372372
// The same can be done with (..., Index, Full, ...) by just deleting

0 commit comments

Comments
 (0)