Changeset: 37e870c97eb8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=37e870c97eb8
Modified Files:
monetdb5/modules/mal/array.mx
Branch: sciql
Log Message:
array.{min,max}(): correctly initialize variables
diffs (12 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
@@ -618,6 +618,8 @@ ARRAYtiles@2_@1(Client cntxt, MalBlkPtr
bRes = BATnew(TYPE_void, TYPE_@1, BATcount(bVal));
bResT = (@1*) Tloc(bRes, BUNfirst(bRes));
for (p = 0 ; p < arrcnt ; p++) {
+ minmax = @1_nil;
+ first = TRUE;
/* loop over all sets of offsets */
for (r = 0; r < offcnt ; r++) {
vid = 0; /* index into bVal for the value of a
qualified tile member */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list