Review org.jquantlib.math.optimization.EndCriteria

Bug #1209683 reported by Richard Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JQuantLib
New
Medium
Unassigned

Bug Description

High Priority Correctness [H C IP] A parameter is dead upon entry to a method but overwritten [IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN]
In class org.jquantlib.math.optimization.EndCriteria
In method org.jquantlib.math.optimization.EndCriteria.checkMaxIterations(int, EndCriteria$CriteriaType)
Local variable named ecType
At EndCriteria.java:[line 85]

[H C IP] A parameter is dead upon entry to a method but overwritten [IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN]

The initial value of this parameter is ignored, and the parameter is overwritten here. This often indicates a mistaken belief that the write to the parameter will be conveyed back to the caller.

=============
Relationships
=============
related to http://bugs.launchpad.net/bugs/jquantlib-200
related to http://bugs.launchpad.net/bugs/jquantlib-416

Tags: code-review
Revision history for this message
Richard Gomes (frgomes) wrote :

1. Please do a code review on EndCriteria

2. Please finish translation of OptimizerTest.java

Revision history for this message
Richard Gomes (frgomes) wrote :

Kicked to v0.1.4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.