From 7f7d7b5652ce88b4d79b3f739802854b540ec770 Mon Sep 17 00:00:00 2001 From: Matthew Dawson Date: Tue, 20 Jan 2015 12:52:35 -0500 Subject: [PATCH] Update to match latest breaking change in jTET. All tables contain MATLAB syntax in TET. Thus always parse cells using the MatlabParser class. --- +TableBlock/convert_table_to_java_table.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/+TableBlock/convert_table_to_java_table.m b/+TableBlock/convert_table_to_java_table.m index 1fa5bb7..9178744 100644 --- a/+TableBlock/convert_table_to_java_table.m +++ b/+TableBlock/convert_table_to_java_table.m @@ -6,7 +6,7 @@ function outtable = convert_table_to_java_table( intable ) outputVar = ca.mcscert.jtet.expression.Variable('output', ca.mcscert.jtet.expression.RealType()); outputVariables = java.util.Arrays.asList([outputVar]); vc = ca.mcscert.jtet.expression.VariableCollection(TET.getInstance.getVariableParser.parseVariables(intable.function_inputs), ca.mcscert.jtet.expression.PartialVariableCollection(outputVariables)); - outtable = ca.mcscert.jtet.tabularexpression.Table(intable.function_name, vc); + outtable = ca.mcscert.jtet.tabularexpression.Table(intable.function_name, vc, ca.mcscert.jtet.parsers.MatlabParser.Parser); TableBlock.convert_hierarchical_grid_to_java(intable.Grid2.cells, outtable.getLeftGrid().getSubHierarchy()) -- GitLab