~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Utilities/vxl/core/vnl/tests/test_hungarian_algorithm.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-05-31 12:07:29 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080531120729-7g7layn480le43ko
Tags: 3.6.0-3
* debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
  with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
* debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
  This only showed up in the tcl wrapping step.

* Above two entries fix FTBFS for GCC 4.3-based systems.
  Closes: #478500.

* debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
  systems are not also configured as a SUN sparc system, which requires
  SUN header sys/isa_defs.h.  Closes: #478940, #483312.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include <vnl/vnl_hungarian_algorithm.h>
2
2
#include <testlib/testlib_test.h>
3
3
 
4
 
#include <vcl_iostream.h>
 
4
// not used? #include <vcl_iostream.h>
5
5
#include <vcl_limits.h>
6
6
#include <vnl/vnl_matrix.h>
7
7
 
22
22
                          assign[2]==0 );
23
23
  }
24
24
 
25
 
 
26
25
  {
27
26
    double cost_val[4][4] = { { 2.0, 1.0, 5.0, 3.0 },
28
27
                              { 0.5, 6.0, 3.0, 0.5 },
97
96
  }
98
97
 
99
98
  double Inf = vcl_numeric_limits<double>::infinity();
 
99
 
100
100
  {
101
101
    double cost_val[5][3] = { { 2.0, 0.5, 7.0 },
102
102
                              { 1.1, 6.0, 1.0 },