@ -150,7 +150,7 @@ def findZerochainage(chainage0, elevation0, max_beach_slope=5, min_beach_slope=5
def insert_LL(chainage, elevation, LL):
# insert an additional element to make LL an actual point
elev_intr=scipy.interpolate.interp1d(chainage, elevation)
elev_intr=scipy.interpolate.interp1d(chainage, elevation, fill_value='extrapolate')
elev_LL=float(elev_intr(LL))
data=[[chainage[i], elevation[i]] for i in range(0, len(chainage))]