I guess that this docstring is wrong as the dispatch above on `src` suggest a `ComplexRupture` as type. Also in the previous function there is a similar problem