diff --git a/backend/src/main/java/ca/bc/gov/backendstartapi/service/ParentTreeService.java b/backend/src/main/java/ca/bc/gov/backendstartapi/service/ParentTreeService.java index 284928630..1a05562c3 100644 --- a/backend/src/main/java/ca/bc/gov/backendstartapi/service/ParentTreeService.java +++ b/backend/src/main/java/ca/bc/gov/backendstartapi/service/ParentTreeService.java @@ -93,7 +93,7 @@ public PtCalculationResDto calculatePtVals(PtValsCalReqDto ptVals) { parentPropOrchPoll = zero; } else { parentPropOrchPoll = - parentTreeRow.coneCount().divide(totalPollenCount, DIVISION_SCALE, halfUp); + parentTreeRow.pollenCount().divide(totalPollenCount, DIVISION_SCALE, halfUp); } // --col:X