Skip to content

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

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

oxinabox merged 3 commits into
masterfrom
ox/scalarmultiple

Conversation

@oxinabox

@oxinabox oxinabox commented Sep 3, 2020

Copy link
Copy Markdown
Member

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

@nickrobinson251 nickrobinson251 left a comment

Copy link
Copy Markdown
Contributor

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

oxinabox commented Sep 3, 2020

Copy link
Copy Markdown
Member Author

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

@nickrobinson251

Copy link
Copy Markdown
Contributor

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

Can you do a quick double-check?

@oxinabox

oxinabox commented Sep 3, 2020

Copy link
Copy Markdown
Member Author

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