r.grow2 has not compiled for me for some time because abs() is
redefined. Attached is a fix. Any objections to me applying it?
--
Brad Douglas <rez@touchofmadness.com>
(attachments)
r.grow2.pat (1.02 KB)
r.grow2 has not compiled for me for some time because abs() is
redefined. Attached is a fix. Any objections to me applying it?
--
Brad Douglas <rez@touchofmadness.com>
r.grow2.pat (1.02 KB)
Brad Douglas wrote:
r.grow2 has not compiled for me for some time because abs() is
redefined. Attached is a fix. Any objections to me applying it?
Efficiency. The MAX() macro will result in one of the arguments being
evaluated twice, so its arguments shouldn't themselves be macros.
abs() is standard ANSI C (C89), so the local definition can be
removed. Then it doesn't matter about MAX() being a macro.
--
Glynn Clements <glynn@gclements.plus.com>