diff --git a/src/main/scala/org/globalforestwatch/summarystats/afi/AFiSummary.scala b/src/main/scala/org/globalforestwatch/summarystats/afi/AFiSummary.scala index 78a81e06..95aa7b54 100644 --- a/src/main/scala/org/globalforestwatch/summarystats/afi/AFiSummary.scala +++ b/src/main/scala/org/globalforestwatch/summarystats/afi/AFiSummary.scala @@ -56,7 +56,7 @@ object AFiSummary { val summaryData = acc.stats.getOrElse(groupKey, AFiData(0, 0, 0, 0)) summaryData.total_area__ha += areaHa - if (negligibleRisk == "NO") { + if (negligibleRisk == "YES") { summaryData.negligible_risk_area__ha += areaHa }