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)
This commit is contained in:
Edward Langley
2026-04-13 21:30:19 -07:00
parent ed1ee7e23a
commit d4e948827b

View File

@ -379,9 +379,9 @@ impl Model {
.unwrap_or(0.0)
}
fn eval_formula(&self, formula: &Formula, context: &CellKey) -> Option<CellValue> {
self.eval_formula_depth(formula, context, Self::MAX_EVAL_DEPTH)
}
//pub fn eval_formula(&self, formula: &Formula, context: &CellKey) -> Option<CellValue> {
// 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`