-
Notifications
You must be signed in to change notification settings - Fork 105
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
\mathrm{}
shouldn't throw exn
#212
\mathrm{}
shouldn't throw exn
#212
Conversation
"\mathrm{} shouldn't throw exn"
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
command `mathrm{}`
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
RowAtom on check null and replacement for NullAtom
Well, maybe it should be so. |
src/WpfMath/TexFormula.cs
Outdated
@@ -33,7 +33,6 @@ public TexRenderer GetRenderer(TexStyle style, double scale, string systemTextFo | |||
public void Add(TexFormula formula, SourceSpan source = null) | |||
{ | |||
Debug.Assert(formula != null); | |||
Debug.Assert(formula.RootAtom != null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to remove these assertions now (when the new code produces non-nullable items for these formulas), do you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
Aside from my last comment, everything else looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
Change state "\mathrm{} should throw exn" to "\mathrm{} shouldn't throw exn"