Changeset: edfe3db76762 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=edfe3db76762 Modified Files: monetdb5/modules/mal/array.mx Branch: SciQL-2 Log Message:
ARRAYtiles_*(): re-enabled implicit sanity check on step-size == 1 our current code does only work correctly with array step-size == 1, and that cannot easily be changed efficiently. diffs (18 lines): diff --git a/monetdb5/modules/mal/array.mx b/monetdb5/modules/mal/array.mx --- a/monetdb5/modules/mal/array.mx +++ b/monetdb5/modules/mal/array.mx @@ -772,14 +772,12 @@ ARRAYtiles_@4_@1_@8(Client cntxt, MalBlk throw(MAL, "array.@4", "minimum value of dimension BAT %d (%d) must not be larger than its maximum value (%d)", i, mi, ma); } - /* if ((int) (dMax[i] - dMin[i] + 1) != dSize[i]) { int rng = (int) (dMax[i] - dMin[i] + 1), sz = dSize[i]; AGGR_CLEANUP(); throw(MAL, "array.@4", "range of dimension BAT %d (%d) does not match its size (%d)", i, rng, sz); } - */ arrsze /= dSize[i]; assert(arrsze); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list