Skip to content

Commit

Permalink
Removed incorrect assertions, closes #515
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Feb 26, 2014
1 parent 5d9d4e1 commit 3011bc3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,6 @@ public int execute(Object[] stack, int sp, int arity) {
assert arity >= 2;
ISet rel = (ISet) stack[sp - arity];
int indexArity = arity - 1;
// assert indexArity <= rel.getElementType().getArity();
int[] fields = new int[arity - 1];
for(int i = 1; i < arity; i++){
fields[i - 1] = ((IInteger)stack[sp - arity + i]).intValue();
Expand All @@ -1882,7 +1881,6 @@ public int execute(Object[] stack, int sp, int arity) {
assert arity >= 2;
IList lrel = (IList) stack[sp - arity];
int indexArity = arity - 1;
// assert indexArity <= lrel.getElementType().getArity();
int[] fields = new int[arity - 1];
for(int i = 1; i < arity; i++){
fields[i - 1] = ((IInteger)stack[sp - arity + i]).intValue();
Expand Down

0 comments on commit 3011bc3

Please sign in to comment.