Re: [eclipse-clp-users] Problem with lib(hash)

From: Kish Shen <kisshen_at_cisco.com>
Date: Mon, 30 Mar 2009 15:12:05 +0100
Ulrich Scholz wrote:
> Dear all, there seems to be a problem with hash_stat/1:
> 
> Best regards,
> 
> Ulrich
> 
> 
> ECLiPSe Constraint Logic Programming System [kernel]
> Kernel and basic libraries copyright Cisco Systems, Inc.
> and subject to the Cisco-style Mozilla Public Licence 1.1
> (see legal¢mpl.txt or www.eclipse-clp.org/licence)
> Source available at www.sourceforge.org/projects/elipse-clp
> GMP library copyright Free Software Foundation, see legal/lgpl.txt
> For other libraries see their individual copyright notices
> Version 6.0 #75 (i386_nt), Tue Feb 24 08:56 2009
> [eclipse 1]: lib(hash),hash_create(H),hash_stat(H).
> hash.eco   loaded in 0.02 seconds
> arithmetic exception in /(0, 0, _27234)
> Abort
> [eclipse 2]:
> 
> 
> 
Hi Ulrich,

Thanks for reporting the problem -- there is a bug in the hash_stat/1 
code when your hash table is empty which results in the division by zero 
error you are seeing.

Cheers,

Kish


-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Mon Mar 30 2009 - 14:40:55 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET