Commit 7f673b86 authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Fix EMLGenerator.generate_preamble to work with PartialVariableCollection.

Since the EMLGenerator doesn't need the full work of VariableCollection,
have it directly access the variables from a PartialVariableCollection.
parent 6de8a6eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ code = [];
function_name = EMLGenerator.parse_inputs(object.data.function_name);
%generate input list
inputs = TET.getInstance.getVariableParser.parseVariables(object.data.function_inputs);
parsed_input = inputs.getVariables().values();
parsed_input = inputs.m_variables.values();
input_iter = parsed_input.iterator()
input = [];
while input_iter.hasNext()