|
From: | Vladimir Markelov |
Subject: | [gnuastro-devel] [bug #52544] Incorrect sanity check in lib/data.c |
Date: | Sat, 2 Dec 2017 19:37:24 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #2, bug #52544 (project gnuastro): I've created a pull request in my repository: https://github.com/VladimirMarkelov/gnuastro-vvm/tree/data-sanity-check The commit: https://github.com/VladimirMarkelov/gnuastro-vvm/commit/37df78c50837d8b1184525f94ab45bd893a5ed80 Changes: 1. Old check for <=0 was replaced with == check (the message was fixed as well) 2. Added check for possible overflow while multiplying (for cases ndim > 1) 3. Added a warning if there is no overflow but the size is too big _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52544> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |