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

Minor inconsistencies in Simulation object #442

Closed
unoebauer opened this issue Nov 27, 2015 · 4 comments
Closed

Minor inconsistencies in Simulation object #442

unoebauer opened this issue Nov 27, 2015 · 4 comments

Comments

@unoebauer
Copy link
Contributor

While working on PR #440, I noticed that some simulation properties are accessed within if statements in the legacy runner but are never set before (I've already added a comment):

            elif not converged and self.converged:
                # UMN Warning: the following two iterations attributes of the Simulation object don't exist
                self.iterations_remaining = self.iterations_max_requested - self.iterations_executed
                self.converged = False

Any reason for this? While running simple tardis setups (mostly tardis_example), the calculation never enters this segment of the if statement. Still, this should be resolved.... (more of these inconsistencies may be lurking around the simulation/base.py file)

@unoebauer unoebauer added the easy label Nov 27, 2015
@unoebauer unoebauer changed the title Minorr inconsistencies in Simulation object Minor inconsistencies in Simulation object Nov 27, 2015
@souravsingh
Copy link
Contributor

I would like to work on the issue.

@unoebauer
Copy link
Contributor Author

Hi @ftsamis - have you done anything about this while checking out the convergence strategies?

@ftsamis
Copy link
Member

ftsamis commented Nov 19, 2016

This code has been completely rewritten as part of #652, so we should close this issue after the PR gets merged.

@ftsamis
Copy link
Member

ftsamis commented Dec 20, 2016

Fixed as part of #652.

@ftsamis ftsamis closed this as completed Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants