Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed Dec 7, 2023
1 parent 2fc09f0 commit 40df8da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tensor.idr
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export partial
eval : PrimitiveRW dtype ty => Graph (Tensor shape dtype) -> IO (Literal shape ty)
eval x = do
let (MkEnvN _ env, MkTensor n) = runState (MkEnvN 0 empty) x
-- putStrLn "got env: \{show env}"
runEitherT (run {dtype} n $ traceVal env) <&> \case
putStrLn "got env: \{show env}"
runEitherT (run {dtype} n env) <&> \case
Right lit => lit
Left err => idris_crash (show err)

Expand Down

0 comments on commit 40df8da

Please sign in to comment.