NanoMichael / MicroTeX

A dynamic, cross-platform, and embeddable LaTeX rendering library
MIT License
435 stars 74 forks source link

a mistyped error #148

Open yifungkhong opened 1 year ago

yifungkhong commented 1 year ago

https://github.com/NanoMichael/MicroTeX/blob/e3199b8b80d58717440a506fc7523d9f01b49bd6/src/atom/atom_char.cpp#L34

'it' is not belonged to symbolFormulaMappings, is the statement always true?

NanoMichael commented 1 year ago

You are right. This code is searching in the cache to see if a 'SymbolAtom' has already been created, which does not affect the main process 😄.

By the way, the master branch is going to be deprecated, if you're interested, take a look at openmath branch.