~logan/ubuntu/trusty/suitesparse/4.2.1-3ubuntu1

« back to all changes in this revision

Viewing changes to CHOLMOD/Partition/cholmod_metis.c

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2007-05-29 09:36:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529093629-zowquo0b7slkk6nc
Tags: 3.0.0-2
* suitesparse builds properly twice in a row
* Bug fix: "suitesparse - FTBFS: Broken build depens: libgfortran1-dev",
  thanks to Bastian Blank (Closes: #426349).
* Bug fix: "suitesparse_3.0.0-1: FTBFS: build-depends on
  libgfortran1-dev", thanks to Steve Langasek (Closes: #426354).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/* ========================================================================== */
4
4
 
5
5
/* -----------------------------------------------------------------------------
6
 
 * CHOLMOD/Partition Module.  Version 1.3.
 
6
 * CHOLMOD/Partition Module.
7
7
 * Copyright (C) 2005-2006, Univ. of Florida.  Author: Timothy A. Davis
8
8
 * The CHOLMOD/Partition Module is licensed under Version 2.1 of the GNU
9
9
 * Lesser General Public License.  See lesser.txt for a text of the license.
46
46
 
47
47
#ifndef NPARTITION
48
48
 
 
49
#include "cholmod_internal.h"
 
50
#undef ASSERT
 
51
 
49
52
#include "metis.h"
50
53
/* METIS has its own ASSERT that it reveals to the user, so remove it here: */
51
54
#undef ASSERT
52
55
 
53
 
#include "cholmod_internal.h"
 
56
/* and redefine it back again */
 
57
#ifndef NDEBUG
 
58
#define ASSERT(expression) (assert (expression))
 
59
#else
 
60
#define ASSERT(expression)
 
61
#endif
 
62
 
54
63
#include "cholmod_partition.h"
55
64
#include "cholmod_cholesky.h"
56
65
 
247
256
    nz = Ap [n] ;
248
257
 
249
258
    /* ---------------------------------------------------------------------- */
250
 
    /* METIS does not have a UF_long integer version */
 
259
    /* METIS does not have a 64-bit integer version */
251
260
    /* ---------------------------------------------------------------------- */
252
261
 
253
262
#ifdef LONG