algorithmsbooks / optimization

Errata for Algorithms for Optimization book
67 stars 16 forks source link

Missing exp(1) in Algorithm B.1, page 426. #4

Closed chaw closed 5 years ago

chaw commented 5 years ago

The code for Algorithm B.1 on page 426 seems to be missing a "exp(1)" after the last + sign.

mykelk commented 5 years ago

Oh, wow, good catch! It looks like the euler constant (generated by \euler within Julia) was used in the source code, but surprisingly the DejaVu Sans Mono font doesn't seem to support this symbol; see this, though the non-monospaced version does support EULER CONSTANT. I think it is Unicode U+2107. @tawheeler what do you recommend? Just go with exp(1)?

mykelk commented 5 years ago

Also, it doesn't show up in print elsewhere in the book, so that is a relief.

tawheeler commented 5 years ago

Fixed!