Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed a cyclic dependency from math-utils.ts (#6535)
**Problem:** There has always been a cyclic dependency between `math-utils.ts` and `array-utils.ts`, but for some reason it has started causing a runtime error over the last few days: ![image](https://github.com/user-attachments/assets/55c10392-1587-4155-9571-60cdc7e1dbfb) **Fix:** `math-utils.ts` was importing a function `stripNulls` from `array-utils.ts`, so I've removed the import and copied the function. The fix could have been applied in the opposite direction, but I've chosen this direction as it seems more likely that at a future date we'd want to import another math function into `array-utils` than vice versa.
- Loading branch information