Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update_matrix: Fix handling of data from postgres >= 14
With Postgresql 14, EXTRACT() function returns a numeric type instead of a float. This is converted to a Decimal by asyncpg, thus breaking code doing a sum of all ages. Initialising the sum with 0 instead 0.0 fixes the issue.
- Loading branch information