Skip to content

TemplateExpressionSpec with custom operator #808

Answered by MilesCranmer
ProPLr00 asked this question in Q&A
Discussion options

You must be logged in to vote

It’s a bit more complex (see other discussion threads with gm89uk) but as a simpler solution I would just turn it into a multiplication, like

((; f), (x0,)) -> (f(x0) > 0*x0) * (1 + 0*x0)

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@MilesCranmer
Comment options

@ProPLr00
Comment options

@MilesCranmer
Comment options

@MilesCranmer
Comment options

@ProPLr00
Comment options

Answer selected by ProPLr00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants