-Fixed a small bug in sicsdata copytonode where the start position was not honoured

This commit is contained in:
2014-12-04 11:33:43 +01:00
parent f274f3bcdb
commit e23dff2141
2 changed files with 39 additions and 39 deletions

View File

@ -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: