Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
1 files changed, 5 insertions, 1 deletions
-rw-r--r--src/Models/CellFormula.h6
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index 2aaba0f..3387c4a 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -7,10 +7,14 @@
#include "../Generic/Pair/Pair.hpp"
class CellFormula : public Cell {
+ struct CellLoc {
+ int firstInd;
+ int secondInd;
+ };
const List<List<Cell*>>* tableCells;
List<CellDouble> localCells;
- List<Pair<Cell*, char>> formula;
+ List<Pair<CellLoc, char>> formula;
String rawFormula;
double calculate(unsigned index = 0);