Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kwxm committed Sep 28, 2021
1 parent 2e60923 commit 1bdef6b
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 78 deletions.
Expand Up @@ -404,8 +404,7 @@ indexByteString cpuModelR = do

equalsByteString :: MonadR m => (SomeSEXP (Region m)) -> m (CostingFun ModelTwoArguments)
equalsByteString cpuModelR = do
cpuModelOnDiagonal <- readModelLinearInX cpuModelR
let cpuModel = ModelTwoArgumentsLinearOnDiagonal $ readModelLinearOnDiagonal cpuModel 245000
cpuModel <- ModelTwoArgumentsLinearOnDiagonal <$> readModelLinearOnDiagonal cpuModelR 245000
-- ### FIXME: the constant above is currently obtained manually from R; automate this
pure $ CostingFun cpuModel boolMemModel

Expand Down

0 comments on commit 1bdef6b

Please sign in to comment.