summary history branches tags files
commit:01004b3c93318c921c2a23eccc336bac3d97a00c
author:Trevor Bentley
committer:Trevor Bentley
date:Thu Aug 29 12:18:04 2024 +0200
parents:8d4c8a08fee6d41a15df806d715d28c93a444fec
fix faulty org-mode relative calculations
diff --git a/src/main.rs b/src/main.rs
line changes: +1/-1
index 21e6f37..a302489
--- a/src/main.rs
+++ b/src/main.rs
@@ -412,7 +412,7 @@ fn fstop_table_formula_org(col_steps: &Vec<Fraction>, row_steps: &Vec<Fraction>,
                         // base everything around the center-most field
                         let base_cell = format!("@{}${}", row_idx, col_idx);
                         print!(" |");
-                        tblfmt.push(format!("@{}${}={};%.{}f", org_row, org_col, entry.org_formula_str(base_cell, cli.relative), cli.precision()));
+                        tblfmt.push(format!("@{}${}={};%.{}f", org_row, org_col, entry.org_formula_str(base_cell, false), cli.precision()));
                     },
                 },
                 false => {