Skip to content

Commit

Permalink
utils/R_script: fixed float_deps and string_deps
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Jun 2, 2021
1 parent da0ebc9 commit 4477407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/r_script.ml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ let ints_dep w =
let floats xs = vector Template_dsl.float xs

let floats_dep w =
Workflow.(app (pure (string_call_gen "c" Float.to_string) ~id:"r_script.ints") w)
Workflow.(app (pure (string_call_gen "c" Float.to_string) ~id:"r_script.floats") w)
|> Template_dsl.string_dep

let strings xs = vector string xs

let strings_dep w =
Workflow.(app (pure (string_call_gen "c" Fn.id) ~id:"r_script.ints") w)
Workflow.(app (pure (string_call_gen "c" (Printf.sprintf "%S")) ~id:"r_script.strings") w)
|> Template_dsl.string_dep

let deps xs = vector dep xs
Expand Down

0 comments on commit 4477407

Please sign in to comment.