Skip to content

Commit

Permalink
Fixed a bug concerning dominant data types.
Browse files Browse the repository at this point in the history
  • Loading branch information
avitorovic committed Apr 1, 2017
1 parent 8ea2fb0 commit 244ecaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ public static int getCompBatchSize(String compName, Map map) {
public static Type getDominantNumericType(List<ValueExpression> veList) {
Type wrapper = veList.get(0).getType();
for (int i = 1; i < veList.size(); i++) {
final Type currentType = veList.get(1).getType();
final Type currentType = veList.get(i).getType();
if (isDominant(currentType, wrapper))
wrapper = currentType;
}
Expand Down

0 comments on commit 244ecaf

Please sign in to comment.