From 37be4936c342e315578001724131b36ddb66cc33 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Wed, 9 Oct 2024 20:27:33 +0100 Subject: [PATCH] Fix parse --- R/dsl.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/dsl.R b/R/dsl.R index 30c6c8af..f0e67648 100644 --- a/R/dsl.R +++ b/R/dsl.R @@ -72,9 +72,9 @@ monty_dsl_parse <- function(x, type = NULL, gradient = NULL, fixed = NULL) { } else { x <- rlang::quo_get_expr(quo) } - fixed <- check_dsl_fixed(data, call) + fixed <- check_dsl_fixed(fixed, call) exprs <- dsl_preprocess(x, type, call) - dsl_parse(exprs, gradient, call) + dsl_parse(exprs, gradient, fixed, call) }