Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed Jul 11, 2024
1 parent 9593c96 commit 1c9f369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spidr/src/Tensor.idr
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ namespace S32
fromInteger = tensor . Scalar . fromInteger

try : Show e => EitherT e IO a -> IO a
try = eitherT (assert_total . idris_crash . show) pure
try = eitherT (\e => assert_total $ idris_crash $ show e) pure

namespace Tag
||| Evaluate a `Tensor`, returning its value as a `Literal`. This function builds and executes the
Expand Down

0 comments on commit 1c9f369

Please sign in to comment.