gipplab / LaCASt

LaCASt - A LaTeX Translator for Computer Algebra Systems
MIT License
7 stars 1 forks source link

Empty \deriv Bug #156

Closed AndreG-P closed 4 years ago

AndreG-P commented 4 years ago

In case of ODEs (or other differential equations), the DLMF use \pderiv. For example DLMF 1.5.11:

\pderiv{}{x}=\cos@@{\phi}\pderiv{}{r}-\frac{\sin@@{\phi}}{r}\pderiv{}{\phi}

However, the new approach of handling deriv (fixed in #155 ) has trouble to handle these real empty \pderiv. These cases should throw exceptions since we cannot handle them. Currently, the translator just outputs garbage.

AndreG-P commented 4 years ago

Fixed in 7b1d957