Commit aa4a5514 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix: correct index in extraction of Zlayers in 'DataAltiExtrapolation_Valery'

Reviewed-by: @francois.tilmant
Refs #144
Showing with 1 addition and 1 deletion
+1 -1
......@@ -38,7 +38,7 @@ DataAltiExtrapolation_Valery <- function(DatesR,
ZLayers[iLayer] <- 0.5 * (HypsoData[ncont + 1] + HypsoData[ncont + 2])
}
if (nn > 2) {
ZLayers[iLayer] <- HypsoData[ncont + nn / 2]
ZLayers[iLayer] <- HypsoData[ncont + nn / 2 + 1]
}
ncont <- ncont + nn
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment