Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BC2F89FE for ; Mon, 5 Sep 2011 21:59:17 +0000 (UTC) Received: (qmail 42420 invoked by uid 500); 5 Sep 2011 21:59:16 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 42340 invoked by uid 500); 5 Sep 2011 21:59:15 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 42332 invoked by uid 99); 5 Sep 2011 21:59:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 21:59:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.74.71.27] (HELO eir.is.scarlet.be) (193.74.71.27) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 21:59:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1315259926; bh=hfrNOOzRE+Vr2En5Q4nu9oMaTzvqXK5oixyK/ayoiu4=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=OzLRpqnCPIjpprFv5c/LvcDGAvlnWY4OLWxS0u7A2NctCLmmi7rHoo+3PCTklp2p/ KltoHiKX4srWldd0vOMrINZUUfC63QiqrqstrUDkSpuCFJzgNiX5l8Ropk1JD172FJ VD74RO/qr/nYN4/qr2jMkHvoDA+FhsWrF1xPLHck= Received: from mail.harfang.homelinux.org (ip-213-49-231-18.dsl.scarlet.be [213.49.231.18]) by eir.is.scarlet.be (8.14.5/8.14.5) with ESMTP id p85LwjM1019783 for ; Mon, 5 Sep 2011 23:58:46 +0200 X-Scarlet: d=1315259926 c=213.49.231.18 Received: from localhost (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 885F661CE9 for ; Mon, 5 Sep 2011 23:58:45 +0200 (CEST) Received: from mail.harfang.homelinux.org ([192.168.20.11]) by localhost (mail.harfang.homelinux.org [192.168.20.11]) (amavisd-new, port 10024) with ESMTP id lqc16ucQB7qT for ; Mon, 5 Sep 2011 23:58:43 +0200 (CEST) Received: from dusk.harfang.homelinux.org (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 63B41617A7 for ; Mon, 5 Sep 2011 23:58:43 +0200 (CEST) Received: from eran by dusk.harfang.homelinux.org with local (Exim 4.76) (envelope-from ) id 1R0hBj-0005Si-66 for dev@commons.apache.org; Mon, 05 Sep 2011 23:58:43 +0200 Date: Mon, 5 Sep 2011 23:58:42 +0200 From: Gilles Sadowski To: dev@commons.apache.org Subject: Re: Default threshold in "LUDecompositionImpl" Message-ID: <20110905215842.GX19625@dusk.harfang.homelinux.org> Mail-Followup-To: dev@commons.apache.org References: <20110905132323.GS19625@dusk.harfang.homelinux.org> <4E651125.1000806@free.fr> <20110905212348.GW19625@dusk.harfang.homelinux.org> <4E6540AE.20708@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4E6540AE.20708@gmail.com> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.21 (2010-09-15) X-DCC-scarlet.be-Metrics: eir 20001; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: clamav-milter 0.97.1-exp at eir X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 05, 2011 at 02:35:42PM -0700, Phil Steitz wrote: > On 9/5/11 2:23 PM, Gilles Sadowski wrote: > > On Mon, Sep 05, 2011 at 08:12:53PM +0200, Luc Maisonobe wrote: > >> Le 05/09/2011 15:23, Gilles Sadowski a �crit : > >>> Hello. > >> Hi Gilles, > >> > >>> There might be a typo in the value for the default singularity threshold > >>> value in class "LUDecompositionImpl" (at line 37): Was > >>> 10E-12 > >>> the intended value, or was it > >>> 1e-12 > >>> ? > >> It is probably a typo, but the exact value was certainly chosen > >> almost arbitrarily. However, since it has now been published and > >> changing it may break code, I would suggest to write it 1e-11. > > Done in revision 1165416. > > Should we maybe make the default public? The fewer "public" things, the better. [As it becomes part of the API, and thus ... (known story).] I think that we should view those simplified constructors as "syntactic sugar" for those users and situations for which the exact value does not matter. If the default is made public, it seems that there was a rationale behind choosing the particular value. Which is not the case here, according to Luc. There are some other occurences in CM where I already indicated my preference for keeping "private" the variable holding the default value, for the same reason. Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org