Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
1 files changed, 1 insertions, 10 deletions
-rw-r--r--src/Models/CellFormula.h11
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index c4bb509..2aaba0f 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -7,19 +7,10 @@
#include "../Generic/Pair/Pair.hpp"
class CellFormula : public Cell {
- enum Op {
- none = 0,
- plus = '+',
- minus = '-',
- mult = '*',
- div = '/',
- pow = '^',
- };
-
const List<List<Cell*>>* tableCells;
List<CellDouble> localCells;
- List<Pair<Cell*, Op>> formula;
+ List<Pair<Cell*, char>> formula;
String rawFormula;
double calculate(unsigned index = 0);