On Sun, Feb 07, 2021 at 09:37:57AM +0100, Enrico Forestieri wrote:
> On Sat, Feb 06, 2021 at 11:06:41PM -0500, Scott Kostyshak wrote:
> > I see an assertion on master that I think started happening with this 
> > commit.
> > 
> > Here's the assertion:
> > ASSERTION false VIOLATED IN 
> > /home/scott/lyxbuilds/master/repo/src/mathed/MathClass.cpp:59
> > 
> > The assertion happens when I just open the attached file.
> > 
> > Can you reproduce?
> 
> Yes, I can. Thanks for the report. Attached you find two patches.
> 
> The first is the right one, IMHO, but JMarc should tell whether the
> "LATEST(false);" has to remain, instead (note that the assertion only
> triggers in devel mode and is ignored in release mode).

Tested and works well. Thanks for the quick potential fix.

Scott


> The second one is to be used if the first one cannot be applied. This
> patch simply assigns the string "mathord" that would be assigned without
> the assert in class_to_string().
> 
> -- 
> Enrico

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to