glm-tools / pyglmnet

Python implementation of elastic-net regularized generalized linear models
http://glm-tools.github.io/pyglmnet/
MIT License
279 stars 84 forks source link

Multiple-line equations not displayed properly #370

Closed p16i closed 4 years ago

p16i commented 4 years ago

Hi,

There are several multiple-line equations, and some of them aren't written with LaTex's aligned environment.

The figure below is such an instance.

Screen Shot 2020-02-28 at 9 44 45 AM

Looking at the source, the problem seems to be caused by an additional space between & and .

 \begin{eqnarray}
    \beta_k^{t} & = \beta_k^{t-1} - (h_k^{t-1})^{-1} \tilde{g}_k^{t-1} \\
    \beta_j^{t} & = \beta_j^{t-1}, \forall j \neq k
\end{eqnarray}

I guess removing these spaces would solve the problem.

Pages that I find this issue:

pavanramkumar commented 4 years ago

thanks for reporting! we accept pull requests :)

jasmainak commented 4 years ago

closed by #371