-Fixed a small bug in sicsdata copytonode where the start position was not honoured
This commit is contained in:
@ -954,7 +954,7 @@ static int copyToNode(pSICSData self, int argc, char *argv[],
|
||||
}
|
||||
node->value.arrayLength = length;
|
||||
}
|
||||
memcpy(node->value.v.intArray, self->data, length*sizeof(int));
|
||||
memcpy(node->value.v.intArray, self->data + start, length*sizeof(int));
|
||||
break;
|
||||
case HIPFLOATAR:
|
||||
case HIPFLOATVARAR:
|
||||
|
Reference in New Issue
Block a user