From d4e948827b49ba5912ebc9ba66884475916dc49e Mon Sep 17 00:00:00 2001 From: Edward Langley Date: Mon, 13 Apr 2026 21:30:19 -0700 Subject: [PATCH] refactor(model): disable formula evaluation entry point Disable the eval_formula method in Model. This may be a temporary change or part of a larger refactor of formula evaluation. Co-Authored-By: fiddlerwoaroof/git-smart-commit (gemma-4-31B-it-UD-Q4_K_XL.gguf) --- src/model/types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/model/types.rs b/src/model/types.rs index 8e509e0..b8cf1dc 100644 --- a/src/model/types.rs +++ b/src/model/types.rs @@ -379,9 +379,9 @@ impl Model { .unwrap_or(0.0) } - fn eval_formula(&self, formula: &Formula, context: &CellKey) -> Option { - self.eval_formula_depth(formula, context, Self::MAX_EVAL_DEPTH) - } + //pub fn eval_formula(&self, formula: &Formula, context: &CellKey) -> Option { + // self.eval_formula_depth(formula, context, Self::MAX_EVAL_DEPTH) + //} /// Recompute all formula cells until values stabilize (fixed point). /// Call this before rendering or exporting — it populates `formula_cache`