Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving subclass of solvers #169

Open
ptflores1 opened this issue May 4, 2022 · 1 comment
Open

Saving subclass of solvers #169

ptflores1 opened this issue May 4, 2022 · 1 comment

Comments

@ptflores1
Copy link

The block

# Get Diff equations details
if self.__class__.__name__ == "Solver1D":
sample_solution = get_sample_solution1D(self)
elif self.__class__.__name__ == "Solver2D":
sample_solution = get_sample_solution2D(self)

is failing when saving instances of a subclass of Solver1D or Solver2D

@sathvikbhagavan
Copy link
Collaborator

Hello,

Can you provide a code snippet where it is failing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants