You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2011/03/23 21:07:05 UTC

[jira] [Closed] (MATH-369) BisectionSolver.solve(final UnivariateRealFunction f, double min, double max, double initial) throws NullPointerException

     [ https://issues.apache.org/jira/browse/MATH-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-369.
------------------------------


Closing issue as it was included in version 2.2, which has been released

> BisectionSolver.solve(final UnivariateRealFunction f, double min, double max, double initial) throws NullPointerException
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MATH-369
>                 URL: https://issues.apache.org/jira/browse/MATH-369
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Windows XP Profesional
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
>            Reporter: Sasun Pundev
>            Priority: Minor
>
> Method 
>     BisectionSolver.solve(final UnivariateRealFunction f, double min, double max, double initial)  
> invokes 
>     BisectionSolver.solve(double min, double max) 
> which throws NullPointerException, as member variable
>     UnivariateRealSolverImpl.f 
> is null.
> Instead the method:
>     BisectionSolver.solve(final UnivariateRealFunction f, double min, double max)
> should be called.
> Steps to reproduce:
> invoke:
>      new BisectionSolver().solve(someUnivariateFunctionImpl, 0.0, 1.0, 0.5);
> NullPointerException will be thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira