TeamBasedInquiryLearning / library

Monorepo for the TBIL library and project webpage
https://tbil.org
Other
3 stars 4 forks source link

LF3 Checkit causing build fail #269

Closed siwelwerd closed 2 months ago

siwelwerd commented 2 months ago

Looks to be an error in the plotting, specifically

TypeError: Cannot convert sage.symbolic.expression.Expression to sage.ext.fast_callable.Expression

I think I have tracked it down... testing a fix now

siwelwerd commented 2 months ago

Building a full 1000 to be sure, but what I think happened is the cause is that we used hold=True to have an equation display like we want, and then later plotted it. For some reason, at least 0.1% of the time this causes an error where it is not being evaluated because of the hold=True. Fix is to .unhold() before passing to plot.