Skip to content

Commit

Permalink
Merge pull request #280 from brosaplanella/issue-279-refactor-problem
Browse files Browse the repository at this point in the history
Refactor problems
  • Loading branch information
BradyPlanden authored Apr 14, 2024
2 parents 040a8b1 + f58c73f commit 36b1b11
Show file tree
Hide file tree
Showing 9 changed files with 410 additions and 402 deletions.
2 changes: 1 addition & 1 deletion examples/standalone/problem.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np

from pybop._problem import BaseProblem
from pybop import BaseProblem


class StandaloneProblem(BaseProblem):
Expand Down
4 changes: 3 additions & 1 deletion pybop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
# Cost class
# Problem class
#
from ._problem import BaseProblem, FittingProblem, DesignProblem
from .problems.base_problem import BaseProblem
from .problems.fitting_problem import FittingProblem
from .problems.design_problem import DesignProblem

#
# Cost function class
Expand Down
Loading

0 comments on commit 36b1b11

Please sign in to comment.