Skip to content

disambiguate equality added; all cn float #19

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

Closed
wants to merge 1 commit into from
Closed

disambiguate equality added; all cn float #19

wants to merge 1 commit into from

Conversation

shahriariravanian
Copy link
Contributor

No description provided.

@anandijain
Copy link
Contributor

@anandijain
Copy link
Contributor

parsing: Test Failed at /home/runner/work/MathML.jl/MathML.jl/test/parse.jl:100
  Expression: isequal(MathML.parse_str(str), IfElse.ifelse(IfElse.ifelse(1 - t > 0, 1, 0) > 0.5, x * (y + a * z) * (1 - b * z) ^ -1, x * y))
   Evaluated: isequal(IfElse.ifelse(IfElse.ifelse(1.0 - t >= 0, 1, 0) > 0.5, x*(y + a*z)*((1.0 - (b*z))^-1), x*y), IfElse.ifelse(IfElse.ifelse(1 - t > 0, 1, 0) > 0.5, x*(y + a*z)*((1 - (b*z))^-1), x*y))

@anandijain
Copy link
Contributor

This is the first part

@test isequal(MathML.parse_str(str), 
  IfElse.ifelse(
    IfElse.ifelse(1. - t >= 0, 1, 0) > 0.5,
     x * (y + a * z) * ((1.0 - (b * z))^-1),
      x * y))

but then i hit

parsing: Error During Test at C:\Users\Anand\.julia\dev\MathML\test\parse.jl:235
  Test threw exception
  Expression: isequal(expand_derivatives(MathML.parse_str(str)), 12 * Num(Variable(:x)) ^ 2)

@anandijain anandijain mentioned this pull request Mar 20, 2021
@anandijain
Copy link
Contributor

thanks again!

@anandijain anandijain closed this Mar 20, 2021
anandijain added a commit that referenced this pull request Mar 20, 2021
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