diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-04-24 07:51:17 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-04-24 07:51:17 +0000 |
commit | aeaefa0dede2d8082c24de5e63078f3593b17b55 (patch) | |
tree | cacdb6b6895f836b8bf14510c9d41636f0013238 /src/GipfelWidget.cxx | |
parent | 983b0fc839560702c917a805aba698b7cfe4e3fe (diff) |
implement optimization using newton method
implement optimization using newton method
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index b43ea86..365def1 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: GipfelWidget.cxx,v 1.10 2005/04/19 16:17:56 hofmann Exp $" +// "$Id: GipfelWidget.cxx,v 1.11 2005/04/24 09:51:17 hofmann Exp $" // // PSEditWidget routines. // @@ -178,6 +178,13 @@ GipfelWidget::comp_params() { redraw(); } + +int +GipfelWidget::newton() { + pan->newton(); + redraw(); +} + int GipfelWidget::handle(int event) { int mark_x, mark_y; |