Boost logo

Boost-Commit :

From: JakeVoytko_at_[hidden]
Date: 2007-07-30 13:21:47


Author: jakevoytko
Date: 2007-07-30 13:21:46 EDT (Mon, 30 Jul 2007)
New Revision: 7596
URL: http://svn.boost.org/trac/boost/changeset/7596

Log:
Added back problematic code to svg_2d_plot.hpp
Text files modified:
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_2d_plot.hpp | 7 ++++++-
   1 files changed, 6 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_2d_plot.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_2d_plot.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_2d_plot.hpp 2007-07-30 13:21:46 EDT (Mon, 30 Jul 2007)
@@ -905,10 +905,15 @@
         (size, (int), 10)
         (line_on, (bool), true)
         (bezier_on, (bool), false)
- (x_functor, *, boost_default_2d_convert())
+ (in_out(x_functor), *, boost_default_2d_convert())
     )
 )
 {
+ // This line has the error in GCC. Also, operator() in boost_default_2d_convert
+ // has been changed so that the value of i is not updated. I would like
+ // the start to be set, as well as i to update in operator().
+ x_functor.start(1.);
+
     plot_line_style line_style(line_color, line_on, bezier_on);
 
     if(area_fill_color != blank)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk