Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/Models/CellFormula.cpp2
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp
index a23152a..4a8aad1 100644
--- a/src/Models/CellFormula.cpp
+++ b/src/Models/CellFormula.cpp
@@ -64,7 +64,7 @@ void CellFormula::parseAndSetValue(const char* str) {
while (*str != ' ') str++;
while (*str == ' ') str++;
- cellToAdd = (*tableCells)[row][col];
+ cellToAdd = (CellDouble)((*tableCells)[row][col]);
currOp = *str;
}
else {