hakaru-dev / hakaru

A probabilistic programming language
BSD 3-Clause "New" or "Revised" License
311 stars 30 forks source link

`simplify` outputs to stderr #67

Closed cscherrer closed 7 years ago

cscherrer commented 7 years ago

Unexpected behavior from calling this: simplify src/LDA/lda.hk > src/LDA/lda_simp.hk

Expected result: Brief pause, then non-empty src/LDA/lda_simp.hk file.

Actual result: After a brief pause, Hakaru code is printed to the screen. A new src/LDA/lda_simp.hk file exists but is empty.

Redirecting stderr confirms that the Hakaru code is now being written there, which is incompatible with previous versions.

cscherrer commented 7 years ago

Oops, my window was just too small - this was not a model result but a Maple error. Closing