Differences

This shows you the differences between two versions of the page.

blog:jminuit_optional_error_output [2009/11/09 21:06]
jankotek
blog:jminuit_optional_error_output [2009/11/09 21:12] (current)
jankotek
Line 3: Line 3:
[[http://java.freehep.org/freehep-jminuit/|JMinuit]] is very good library for minimum on given function. In Asterope it replaced in house build library, and it have way better result. [[http://java.freehep.org/freehep-jminuit/|JMinuit]] is very good library for minimum on given function. In Asterope it replaced in house build library, and it have way better result.
-Only problem is little bit annoying. Library have hard coded error output to //System.err// and it produces annoying messages in console while application is running. There is even [[http://bugs.freehep.org/browse/JMINUIT-7|bug report]] created two years ago. But library seems to be unmaintained. +Only one problem is little bit annoying. Library have hard coded error output to //System.err// and it produces annoying messages in console while application is running. There is even [[http://bugs.freehep.org/browse/JMINUIT-7|bug report]] created two years ago. But library seems to be unmaintained.
So I sit down and fixed this problem. It replaces calls to System.err with an optional wrapper. To get rid off messages in console, just set static variable to null. Or you can supply your own PrintStream and redirect output to file. So I sit down and fixed this problem. It replaces calls to System.err with an optional wrapper. To get rid off messages in console, just set static variable to null. Or you can supply your own PrintStream and redirect output to file.
 
blog comments powered by Disqus
blog/jminuit_optional_error_output.txt · Last modified: 2009/11/09 21:12 by jankotek
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki