to_matrix(): Index out of bounds for given array if given array is smaller than desired matrix size. #1

Closed
opened 2023-11-24 07:04:50 +01:00 by Koa · 0 comments
Owner

See test 2:

testA = [1, 2]
outA = to_matrix(testA, 2, 2)

Previous output:
[<null>, <null>, <null>, <null>]
Expected output:
[1, 2, <null>, <null>]

See test 2: ``` testA = [1, 2] outA = to_matrix(testA, 2, 2) ``` Previous output: `[<null>, <null>, <null>, <null>]` Expected output: `[1, 2, <null>, <null>]`
Koa closed this issue 2023-11-24 08:26:39 +01:00
Koa changed title from Index out of bounds for given array if given array is smaller than desired matrix size. to to_matrix(): Index out of bounds for given array if given array is smaller than desired matrix size. 2023-11-24 08:27:58 +01:00
Koa added reference master 2023-11-24 08:29:16 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Koa/godot_lib#1
No description provided.