Commit d59625aa authored by Jan Philipp Haller's avatar Jan Philipp Haller
Browse files

Activated Debug Log output,

new version: 0.4.1
parent a02f4670
Pipeline #338632 failed with stage
in 34 seconds
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<groupId>de.monticore.lang.monticar</groupId> <groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc-math-generator</artifactId> <artifactId>embedded-montiarc-math-generator</artifactId>
<version>0.4.0-SNAPSHOT</version> <version>0.4.1-SNAPSHOT</version>
<!-- == PROJECT DEPENDENCIES ============================================= --> <!-- == PROJECT DEPENDENCIES ============================================= -->
......
...@@ -90,9 +90,9 @@ public class MathInformationRegister { ...@@ -90,9 +90,9 @@ public class MathInformationRegister {
int result = 0; int result = 0;
if (mathValueSymbol != null) { if (mathValueSymbol != null) {
String numberString = mathValueSymbol.getType().getDimensions().get(dimension).getTextualRepresentation(); String numberString = mathValueSymbol.getType().getDimensions().get(dimension).getTextualRepresentation();
//Log.info(name, "Name:"); Log.info(name, "Name:");
//Log.info(mathValueSymbol.getType().getDimensions().get(0).getTextualRepresentation(), "getAmount"); Log.info(mathValueSymbol.getType().getDimensions().get(0).getTextualRepresentation(), "getAmount");
//Log.info(mathValueSymbol.getType().getDimensions().get(1).getTextualRepresentation(), "getAmount"); Log.info(mathValueSymbol.getType().getDimensions().get(1).getTextualRepresentation(), "getAmount");
try { try {
result = Integer.valueOf(numberString); result = Integer.valueOf(numberString);
} catch (Exception ex) { } catch (Exception ex) {
...@@ -102,9 +102,9 @@ public class MathInformationRegister { ...@@ -102,9 +102,9 @@ public class MathInformationRegister {
Variable var = getVariable(name); Variable var = getVariable(name);
if (var != null) { if (var != null) {
try { try {
//Log.info(name, "Name:"); Log.info(name, "Name:");
//Log.info(var.getDimensionalInformation().get(0), "getAmount"); Log.info(var.getDimensionalInformation().get(0), "getAmount");
//Log.info(var.getDimensionalInformation().get(1), "getAmount"); Log.info(var.getDimensionalInformation().get(1), "getAmount");
result = Integer.valueOf(var.getDimensionalInformation().get(dimension)); result = Integer.valueOf(var.getDimensionalInformation().get(dimension));
} catch (Exception ex) { } catch (Exception ex) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment