Skip to content

Commit e0f0cd7

Browse files
Merge pull request #381 from lshaw8317/exampleError
Update lazyexpr.py
2 parents 5842366 + c9fd751 commit e0f0cd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blosc2/lazyexpr.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3028,11 +3028,11 @@ def lazyexpr(
30283028
[1.875 2.5 3.125]
30293029
[3.75 4.375 5. ]]
30303030
>>> b1 = blosc2.asarray(b)
3031-
>>> expr = 'a1 * b1 + 2'
3031+
>>> expr = 'a * b + 2'
30323032
>>> operands = { 'a': a1, 'b': b1 }
30333033
>>> lazy_expr = blosc2.lazyexpr(expr, operands=operands)
30343034
>>> f"Lazy expression created: {lazy_expr}"
3035-
Lazy expression created: a1 * b1 + 2
3035+
Lazy expression created: a * b + 2
30363036
>>> lazy_expr[:]
30373037
[[ 2. 2.390625 3.5625 ]
30383038
[ 5.515625 8.25 11.765625]

0 commit comments

Comments
 (0)