Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TensorLib/ByteArray.lean
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private local instance : Shrinkable ByteArray where

private local instance : SampleableExt ByteArray :=
SampleableExt.mkSelfContained do
let data SampleableExt.interpSample (Array UInt8)
let data <- SampleableExt.interpSample (Array UInt8)
return ByteArray.mk data

/--
Expand Down
2 changes: 1 addition & 1 deletion TensorLib/Common.lean
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ example (x y : Nat) :

local instance : SampleableExt (Nat × Nat) :=
SampleableExt.mkSelfContained do
let x SampleableExt.interpSample Nat
let x <- SampleableExt.interpSample Nat
let n <- SampleableExt.interpSample Nat
return (x * n, x)

Expand Down
Loading
Loading