Skip to content

Commit

Permalink
Fixed lone multiplicity with fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mudathirmahgoub committed May 9, 2019
1 parent 0090719 commit 753f1af
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private Expression translateComparison(ExprBinary expr, BinaryExpression.Op op,
existentialBdVarExprs.add(bdVar.getVariable());
}

Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -294,7 +294,7 @@ private Expression translateComparison(ExprBinary expr, BinaryExpression.Op op,
}

// (distinct e1 e2 e3 ....)
Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -343,7 +343,7 @@ private Expression translateComparison(ExprBinary expr, BinaryExpression.Op op,
}

// (distinct e1 e2 e3 ....)
Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -392,7 +392,7 @@ private Expression translateComparison(ExprBinary expr, BinaryExpression.Op op,
}

// (distinct e1 e2 e3 ....)
Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -456,7 +456,7 @@ else if((expr.right instanceof ExprUnary) && ((ExprUnary)expr.right).op == ExprU
existentialBdVarExprs.add(bdVar.getVariable());
}

Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -505,7 +505,7 @@ else if((expr.right instanceof ExprUnary) && ((ExprUnary)expr.right).op == ExprU
}

// (distinct e1 e2 e3 ....)
Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -554,7 +554,7 @@ else if((expr.right instanceof ExprUnary) && ((ExprUnary)expr.right).op == ExprU
}

// (distinct e1 e2 e3 ....)
Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down Expand Up @@ -603,7 +603,7 @@ else if((expr.right instanceof ExprUnary) && ((ExprUnary)expr.right).op == ExprU
}

// (distinct e1 e2 e3 ....)
Expression distElementsExpr = TranslatorUtils.mkDistinctExpr(existentialBdVarExprs);
Expression distElementsExpr = TranslatorUtils.makeDistinct(existentialBdVarExprs);

exprTranslator.translator.existentialBdVars.addAll(existentialBdVars);
if(exprTranslator.translator.auxExpr != null)
Expand Down
Loading

0 comments on commit 753f1af

Please sign in to comment.