mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 22:54:10 +08:00
Mixins work differently than I thought, this fixes the DCProblem code.
This commit is contained in:
@@ -7,7 +7,7 @@ import numpy as np
|
||||
import scipy.sparse as sp
|
||||
import scipy.sparse.linalg as linalg
|
||||
|
||||
class DCProblem(Problem, ModelTransforms.LogModel):
|
||||
class DCProblem(ModelTransforms.LogModel, Problem):
|
||||
"""
|
||||
**DCProblem**
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import numpy as np
|
||||
|
||||
from SimPEG.utils import mkvc, sdiag
|
||||
|
||||
class LogModel(object):
|
||||
"""docstring for LogModel"""
|
||||
|
||||
Reference in New Issue
Block a user