Skip to content

Commit

Permalink
Removed duplicate code.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrpugh committed Mar 30, 2015
1 parent 4550d12 commit e8d8638
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pycollocation/solutions.py
Expand Up @@ -82,18 +82,6 @@ def solution(self):
"""
return pd.DataFrame.from_dict(self._solution)

@property
def success(self):
"""
True, if a solution was found by the `solvers.Solver` object;
otherwise, False.
:getter: Return the `success` attribute.
:type: `boolean`
"""
return self.result.success

@staticmethod
def _validate_interpolation_knots(number):
"""Validates the `interpolation_knots` attribute."""
Expand Down

0 comments on commit e8d8638

Please sign in to comment.