mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
gpt/multiply had a copy-paste docstring from gpt/subtract claiming it performs subtraction; corrected to accurately describe multiplication. gpt/abs was using clojure.core/update on a Point record, which returns a plain IPersistentMap instead of a Point instance, causing point? checks on the result to return false. Replaced with a direct pos->Point constructor call using mth/abs on each coordinate. Signed-off-by: Andrey Antukh <niwi@niwi.nz>