Usage (c, Ls, g) = dgtreal(f, g, a, M, L, pt) is missing while parameter pt is mentionned
(c, Ls, g) = dgtreal(f, g, a, M, L, pt)
pt