Bug in addVolumeFraction()
for profiles with floating point horizon depths
#8
Labels
addVolumeFraction()
for profiles with floating point horizon depths
#8
There is a bug affecting the
addVolumeFraction
function, which affects profile which have floating points depths:The error message is:
This bug is due to the rounding of floating point horizon depths in
.volume2df
, specifically:This is due to the rounding of depths in
d
(line 23):where
for
depth = 18.5
, sonrow(d)
= 180, while on the other hand,length(m)
= 185.The text was updated successfully, but these errors were encountered: