Project

General

Profile

Revision dd864603

IDdd864603a5a9162b226717d2286cbb8d216141fd
Parent ca93e81e
Child 9415e8dd

Added by Andreas Müller almost 2 years ago

ref #8469 fix min max issue

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/generate/PolytomousKeyGenerator.java
254 254
                        Set<QuantitativeData> tqds = taxon.quantitativeData.get(feature);
255 255
                        tqds = tqds == null? new HashSet<>(): tqds;
256 256
                        for (QuantitativeData qd : tqds){
257
                            staysCandidate &= qd.getOverallMin() == null || qd.getOverallMin() > min;
258
                            staysCandidate &= qd.getOverallMax() == null || qd.getOverallMax() > max;
257
                            staysCandidate &= qd.getOverallMin() == null || qd.getOverallMin() >= min;
258
                            staysCandidate &= qd.getOverallMax() == null || qd.getOverallMax() <= max;
259 259
                        }
260 260
                        if (!staysCandidate){
261 261
                            break;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)