Uh oh!
There was an error while loading. Please reload this page.
Rework UnaryOpNode - #627
Open
arcondello wants to merge 2 commits into
Open
Conversation
arcondelloforce-pushed
the
feature/unaryop-rework
branch
3 times, most recently
from
August 27, 2026 20:41
ab1eb6a to
1d53fd1Comparearcondello
commented
Aug 27, 2026
| auto p_ptr = graph.emplace_node<UnaryOpNode<TestType>>(a_ptr); | ||
| auto* p_ptr = graph.emplace_node<UnaryOpNode<TestType>>(a_ptr); | ||
| graph.emplace_node<ArrayValidationNode>(p_ptr); |
MemberAuthor
There was a problem hiding this comment.
This test was modified more than the others as part of fixing a bug. I figure the changes are for the better but are not so important that we need to propagate them to all other tests.
arcondello
commented
Aug 27, 2026
| using LogicalNode = UnaryOpNode<functional::logical>; | ||
| extern template class UnaryOpNode<functional::logical>; | ||
| using NegativeNode = UnaryOpNode<functional::negate>; |
MemberAuthor
There was a problem hiding this comment.
I think now that these are all ops we define rather than std:: ones, we should rename them to be consistent with the nodes.
arcondelloforce-pushed
the
feature/unaryop-rework
branch
from
August 31, 2026 21:05
1d53fd1 to
0373902Comparearcondello
marked this pull request as ready for review
August 31, 2026 22:16
fastbodin
self-requested a review
September 1, 2026 01:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make
UnaryOpNodeheader-only and expand the features offunctional.hpp.AI Generation Disclosure
Claude helped a lot with this one. Mostly by catching edge cases in the funcs, implementing a few of them once I showed it the pattern (e.g.,
rint) and by helping to write the tests. In the end, most of the code was actually written by me once I made all the changes I wanted.The changes to
UnaryOpNodedidn't use any AI.