diff --git a/src/ac/ed/lurg/landuse/LandUseItem.java b/src/ac/ed/lurg/landuse/LandUseItem.java index 61ff9c0d843723fc64ba1a03a52a2b6f55e3fc91..686878963ad3baa34959ba32c72d5417f8fd3ee6 100644 --- a/src/ac/ed/lurg/landuse/LandUseItem.java +++ b/src/ac/ed/lurg/landuse/LandUseItem.java @@ -323,7 +323,7 @@ public class LandUseItem implements InterpolatingRasterItem<LandUseItem>, Serial LandCoverType toLc = ModelConfig.ENABLE_LAND_SHARING || lcType.equals(LandCoverType.BARREN) ? lcType : LandCoverType.NATURAL; LandKey toKey = new LandKey(toLc, LandProtectionType.PROTECTED); double a = Math.min(getLandCoverArea(fromKey), diffArea); - if (a < 1e-9) { + if (a < 1e-10) { continue; } moveAreas(fromKey, toKey, a); @@ -338,7 +338,7 @@ public class LandUseItem implements InterpolatingRasterItem<LandUseItem>, Serial LandKey fromKey = new LandKey(lcType, LandProtectionType.PROTECTED); LandKey toKey = new LandKey(lcType, LandProtectionType.UNPROTECTED); double a = Math.min(getLandCoverArea(fromKey), diffArea); - if (a < 1e-9) { + if (a < 1e-10) { continue; } moveAreas(fromKey, toKey, a);