summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/variables.cpp b/project2/variables.cpp
index 3089510..1a16c4b 100644
--- a/project2/variables.cpp
+++ b/project2/variables.cpp
@@ -110,7 +110,7 @@ class VariableParent : public VariableImplDyn, public RowUser {
row->use(dep);
}
}
- cache = row->getCurrentValue(source);
+ cache = row->getCurrentValue(name);
}
catch (PerRowValues::ParentOutOfRange) {
if (!defaultValue) {