Thanks for finding this bug. I'll fix it and look for additional such errors in nset.
Curious: did you find this bug by reading the source, or did the bug cause an error and that prompted you to
look at the source?
--Barton
________________________________________
From: maxima-bounces at math.utexas.edu [maxima-bounces at math.utexas.edu] on behalf of Camm Maguire [camm at maguirefamily.org]
Sent: Saturday, September 28, 2013 12:36
To: Robert Dodier
Cc: maxima at math.utexas.edu
Subject: nset.lisp bug?
Greetings! nset.lisp:
(defun $num_distinct_partitions (n &optional lst)
(cond ((eq n 0) 1)
...
Shouldn't that be eql, or equal?
Take care,
--
Camm Maguire camm at maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima