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

Some cleanup in state.py. #474

Merged
merged 2 commits into from
Nov 5, 2014
Merged

Some cleanup in state.py. #474

merged 2 commits into from
Nov 5, 2014

Conversation

ketch
Copy link
Member

@ketch ketch commented Nov 5, 2014

No description provided.

@mandli
Copy link
Member

mandli commented Nov 5, 2014

Looks like you broke something with PETSc:

AttributeError: 'State' object has no attribute 'lqVec'

It kind of looks like you renamed the local vec, is there somewhere that should have changed as well?

@q.setter
def q(self,val):
num_eqn = val.shape[0]
if self.gqVec is None: self._init_q_da(num_eqn)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line might be the source of problems.

@ahmadia
Copy link
Member

ahmadia commented Nov 5, 2014

Ahh, no, I think lqVec is used somewhere else as Kyle mentioned.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) when pulling 4e3a781 on ketch:fix-docstrings into b4308b6 on clawpack:master.

@ketch
Copy link
Member Author

ketch commented Nov 5, 2014

Yeah, I messed up a merge when I rebased this (very old) work. Fixed now.

mandli added a commit that referenced this pull request Nov 5, 2014
@mandli mandli merged commit eb181e1 into clawpack:master Nov 5, 2014
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

Successfully merging this pull request may close these issues.

4 participants