aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/scripts')
-rw-r--r--src/openvic-simulation/scripts/Condition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/scripts/Condition.cpp b/src/openvic-simulation/scripts/Condition.cpp
index 73b3606..ce18824 100644
--- a/src/openvic-simulation/scripts/Condition.cpp
+++ b/src/openvic-simulation/scripts/Condition.cpp
@@ -721,7 +721,7 @@ node_callback_t ConditionManager::expect_condition_node_list(
};
bool ret = conditions.expect_item_dictionary_and_default(
- expect_node, top_scope ? top_scope_fallback : key_value_invalid_callback
+ top_scope ? top_scope_fallback : key_value_invalid_callback, expect_node
)(node);
if (!ret) {
Logger::error("Error parsing condition node:\n", node);