Richard Taylor
92152117f5
Fix: don't throw exception when filter/map/forEach an empty array ( #3567 )
...
Removes out-of-bounds access to first element in optimizeCallback when
the provided array/matrix is empty. Also adds numerous unit tests for such
edge cases, and fixes a previously unreported internal bug in SparseMatrix,
violating its own invariants on empty matrices.
Resolves #3564 .
---------
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2025-10-27 00:39:35 -07:00
..
2025-07-16 10:40:13 +02:00
2021-07-03 12:10:22 +02:00
2022-07-19 12:04:35 +02:00
2021-07-03 12:10:22 +02:00
2025-10-01 11:50:17 +02:00
2024-02-14 17:49:07 +01:00
2022-07-19 12:04:35 +02:00
2024-05-22 08:46:14 +02:00
2025-05-28 17:00:58 +02:00
2025-10-09 10:33:15 +02:00
2024-05-22 08:46:14 +02:00
2024-08-21 14:30:40 +02:00
2025-10-27 00:39:35 -07:00
2025-10-08 08:17:25 -07:00
2025-10-27 00:39:35 -07:00
2020-09-20 18:01:29 +02:00
2024-08-21 14:30:40 +02:00
2024-05-22 08:46:14 +02:00
2025-04-22 17:08:21 -07:00
2025-10-27 00:39:35 -07:00
2025-01-30 13:19:23 +01:00
2021-05-12 10:34:40 +02:00
2025-10-09 10:33:15 +02:00
2020-09-20 18:01:29 +02:00
2024-05-22 08:46:14 +02:00
2025-10-10 08:31:41 +02:00
2022-12-05 10:16:37 +01:00
2021-07-03 12:10:22 +02:00
2024-05-22 08:46:14 +02:00
2024-05-22 08:46:14 +02:00
2025-07-16 10:40:13 +02:00
2025-10-09 10:33:15 +02:00
2021-07-03 12:10:22 +02:00
2024-05-22 08:46:14 +02:00
2025-10-09 10:33:15 +02:00
2025-07-16 10:40:13 +02:00
2024-05-22 08:46:14 +02:00
2022-07-19 12:04:35 +02:00
2025-10-09 10:33:15 +02:00