Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 30367 invoked from network); 3 Apr 2010 03:45:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Apr 2010 03:45:51 -0000 Received: (qmail 79849 invoked by uid 500); 3 Apr 2010 03:45:51 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79613 invoked by uid 500); 3 Apr 2010 03:45:50 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 79595 invoked by uid 99); 3 Apr 2010 03:45:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Apr 2010 03:45:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Apr 2010 03:45:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53100234C4BE for ; Sat, 3 Apr 2010 03:45:27 +0000 (UTC) Message-ID: <856023200.671321270266327339.JavaMail.jira@brutus.apache.org> Date: Sat, 3 Apr 2010 03:45:27 +0000 (UTC) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (MATH-343) Brent solver doesn't throw IllegalArgumentException when initial guess has the wrong sign In-Reply-To: <2107414558.471021266956488742.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phil Steitz closed MATH-343. ---------------------------- > Brent solver doesn't throw IllegalArgumentException when initial guess has the wrong sign > ----------------------------------------------------------------------------------------- > > Key: MATH-343 > URL: https://issues.apache.org/jira/browse/MATH-343 > Project: Commons Math > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Volkan Aktas > Priority: Critical > Fix For: 2.1 > > > Javadoc for "public double solve(final UnivariateRealFunction f, final double min, final double max, final double initial)" claims that "if the values of the function at the three points have the same sign" an IllegalArgumentException is thrown. This case isn't even checked. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.