Skip to content

Commit e471cf0

Browse files
authored
Merge pull request #27 from GraphBLAS/iso-formats
Swap ISO to be represented in format instead of value type
2 parents 0067ca8 + fdc5f50 commit e471cf0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

spec/latest/index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ corresponding name in `data_types`.
242242

243243
When all values of a sparse array are the same identical value, a special syntax is
244244
provided to compress the value array to a single value rather than duplicating the same
245-
number unnecessarily. The type is written as `iso[<type>]` to indicate that the array
246-
will store only a single element which is common to all stored indices.
245+
number unnecessarily. The format of the array is written as `iso[<format>]` to indicate
246+
that the array will store only a single element which is common to all stored indices.
247247

248248
<div class=example>
249249

250-
Example of a CSR Matrix whose values are all 1.
250+
Example of a CSR Matrix whose values are all 7.
251251

252252
<table>
253253
<thead>
@@ -306,12 +306,12 @@ Example of a CSR Matrix whose values are all 1.
306306

307307
```json
308308
{
309-
"format": "CSR",
309+
"format": "iso[CSR]",
310310
"shape": [5, 5],
311311
"data_types": {
312312
"pointers_0": "uint64",
313313
"indices_1": "uint64",
314-
"values": "iso[int8]"
314+
"values": "int8"
315315
}
316316
}
317317
```

0 commit comments

Comments
 (0)