Skip to content

Commit

Permalink
Add two shortcuts for backwards compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Jan 8, 2017
1 parent 0932d74 commit dbf1699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pymatsolver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
try:
from pymatsolver.direct import Pardiso
AvailableSolvers['Pardiso'] = True
ParadisoSolver = Pardiso # backwards compatibility
except ImportError:
SolverHelp['Pardiso'] = """Pardiso is not working
Expand All @@ -37,6 +38,7 @@
try:
from pymatsolver.mumps import Mumps
AvailableSolvers['Mumps'] = True
MumpsSolver = Mumps # backwards compatibility
except ImportError:
SolverHelp['Mumps'] = """Mumps is not working.
Expand Down

0 comments on commit dbf1699

Please sign in to comment.