[GRASS-git] [OSGeo/grass] d7e7f8: r.slope.aspect: Increase precision of values compa...
Edouard Choinière
noreply at github.com
Fri May 30 12:05:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: d7e7f8d4fd06c54c43787d8c33170fd391965903
https://github.com/OSGeo/grass/commit/d7e7f8d4fd06c54c43787d8c33170fd391965903
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2025-05-30 (Fri, 30 May 2025)
Changed paths:
M raster/r.slope.aspect/testsuite/test_r_slope_aspect.py
Log Message:
-----------
r.slope.aspect: Increase precision of values compared in tests (#5796)
Follow-up from #5792.
This PR uses a smaller delta for the differences accepted between actual and reference values. The current tests were quite loose, and would probably not help us catch regressions unless the differences were huge. Since it is mostly a golden test, we want to know when anything changes.
* Increase r.slope.aspect precision
* Add more digits to the reference mean values of test_slope
* Increase r.slope.aspect precision to 1e-14, except where results fail
* Add note to use a smaller precision threshold or self.precision
* Apply suggestions from code review
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list