def remove_empty(self):
        result = []

        for segment in self.segments:
            if len(segment.points) > 0:
                result.append(segment)

        self.segments = result
Eigenvalue solver.
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPXTrack.remove_empty--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/discriminant_analysis.py/LinearDiscriminantAnalysis._solve_eigen