]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/column-x-positions.cc
release: 1.2.14
[lilypond.git] / lily / column-x-positions.cc
index 15fc02faae90f0af949258ff955424ea68f2cbb3..91c616fcb079c0b43163f19288693bad34a0deb0 100644 (file)
@@ -7,9 +7,9 @@
 */
 
 #include "column-x-positions.hh"
+#include "simple-spacer.hh"    // ugh
 #include "real.hh"
 #include "debug.hh"
-#include "line-spacer.hh"
 
 Column_x_positions::Column_x_positions()
 {
@@ -33,37 +33,15 @@ void
 Column_x_positions::print() const
 {
 #ifndef NPRINT
-  DOUT << "energy : " << energy_f_ << '\n';
-  DOUT << "line of " << config_.size() << " cols\n";
+  DEBUG_OUT << "energy : " << energy_f_ << '\n';
+  DEBUG_OUT << "line of " << config_.size() << " cols\n";
 #endif
 }
 
-void
-Column_x_positions::OK() const
-{
-#ifndef NDEBUG
-  assert (config_.size() == cols_.size ());
-#endif
-}
 
 
-void
-Column_x_positions::stupid_solution()
-{
-  //  set_stupid_solution (spacer_l_->default_solution());
-}
 
-void
-Column_x_positions::solve_line() 
-{
-  spacer_l_->solve (this);
-}
 
 
-void
-Column_x_positions::approximate_solve_line() 
-{
-  spacer_l_->lower_bound_solution (this);
-}