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

Dolci/test concatenatevec tao #1

Merged
merged 14 commits into from
Jul 19, 2024
Merged

Dolci/test concatenatevec tao #1

merged 14 commits into from
Jul 19, 2024

Conversation

Ig-dolci
Copy link

No description provided.

@jrmaddison jrmaddison self-requested a review June 28, 2024 12:23
Comment on lines 145 to 155
def _ad_assign(self, other):
"""This method must be overridden.

The method should implement a routine for assigning the values from
another object `other` to `self`.

Args:
value (obj): The object which should be assigned to `self`.
"""
raise NotImplementedError

Copy link
Author

Choose a reason for hiding this comment

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

I am stealing your idea.

Copy link
Owner

@jrmaddison jrmaddison Jul 19, 2024

Choose a reason for hiding this comment

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

Only needed for mutable types (AdjFloat is immutable).

@Ig-dolci Ig-dolci requested a review from jrmaddison July 18, 2024 14:52
@jrmaddison
Copy link
Owner

I think it's quicker for me to edit after merging into my fork.

@jrmaddison jrmaddison marked this pull request as ready for review July 19, 2024 09:28
@Ig-dolci
Copy link
Author

I think it's quicker for me to edit after merging into my fork.

Yes. I agree.

Copy link
Owner

@jrmaddison jrmaddison left a comment

Choose a reason for hiding this comment

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

If you make any changes (e.g. for the _ad_to_petsc) then we can go ahead and merge here.

@Ig-dolci
Copy link
Author

I think you can merge. FYI, I am using this firedrake branch: firedrakeproject/firedrake#3657

@Ig-dolci Ig-dolci requested a review from jrmaddison July 19, 2024 10:15
@jrmaddison jrmaddison merged commit e851645 into jrmaddison:jrmaddison/tao Jul 19, 2024
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.

2 participants