We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff565f7 commit 238ecbcCopy full SHA for 238ecbc
src/core/t-vector.c
@@ -446,7 +446,7 @@ void Set_Vector_Row(REBSER *ser, REBVAL *blk)
446
ser->tail = len; // !!! another way to do it?
447
448
// Store info about the vector (could be moved to flags if necessary):
449
- ser->size = (dims << 8) | (type << 3) | (sign << 2) | (bits >> 4);
+ ser->size = (dims << 8) | (type << 3) | (sign << 2) | (bits >> 4)-1; // bits are zero based value!
450
451
return ser;
452
}
0 commit comments