Skip to content

Make scalar_rule's frule return a Composite not a tuple#214

Merged
oxinabox merged 3 commits intomasterfrom
ox/scalarmultiple
Oct 5, 2020
Merged

Make scalar_rule's frule return a Composite not a tuple#214
oxinabox merged 3 commits intomasterfrom
ox/scalarmultiple

Conversation

@oxinabox
Copy link
Member

@oxinabox oxinabox commented Sep 3, 2020

Fix #211

I am marking this as a patch, because I think #211 was a bug.
And this shoul;dn't break anyway as Composite{Tuple} acts just like a tuple for most purposes

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

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

Do any docs need updating following this change?

@oxinabox
Copy link
Member Author

oxinabox commented Sep 3, 2020

I hope the docs already say that this is what they should do.

@nickrobinson251
Copy link
Contributor

I hope the docs already say that this is what they should do.

Can you do a quick double-check?

@oxinabox
Copy link
Member Author

oxinabox commented Sep 3, 2020

You win this time. My hopes were dashed

@oxinabox oxinabox merged commit 43e2113 into master Oct 5, 2020
@oxinabox oxinabox deleted the ox/scalarmultiple branch October 5, 2020 17:56
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.

For a tuple primal @scalar_rule returns a tuple (not a Composite) differential.

2 participants