Opened 9 years ago

Closed 6 years ago

#1321 closed defect (fixed)

DebCheck QA: Passing value -1 to sqrt() leads to undefined result

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: Vector Version: 6.4.0
Keywords: v.mapcalc Cc:
CPU: Unspecified Platform: Linux

Description

(see #1311)

  • ./vector/v.mapcalc/vector.c:127 [error] - Passing value -1 to sqrt() leads to undefined result

(v.mapcalc? anyone ever play with this code??)

Hamish

Change History (3)

comment:1 Changed 9 years ago by neteler

v.mapcalc should be svn moved out to GRASS Addons.

comment:2 Changed 8 years ago by hamish

sqrt(-1) to set nan value replaced by 0.0/0.0 in devbr6 and trunk with r50193-5.

Hamish

comment:3 Changed 6 years ago by hamish

Milestone: 6.4.26.4.4
Resolution: fixed
Status: newclosed

nan creation backported to relbr64 in r57770, closing ticket.

Some more fixes applied so now it builds in all branches (need to run make twice in 6.x as it's missing some Makefile target prereq).

Unless someone wants to take it up, recommend to move trunk's v.mapcalc code into addons svn since the module remains a work in progress.

Hamish

Note: See TracTickets for help on using tickets.