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

« back to all changes in this revision

Viewing changes to AMD/Source/amd_valid.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
 
/* AMD Version 2.0, Copyright (c) 2006 by Timothy A. Davis,                  */
 
6
/* AMD, Copyright (c) Timothy A. Davis,                                      */
7
7
/* Patrick R. Amestoy, and Iain S. Duff.  See ../README.txt for License.     */
8
8
/* email: davis at cise.ufl.edu    CISE Department, Univ. of Florida.        */
9
9
/* web: http://www.cise.ufl.edu/research/sparse/amd                          */
46
46
)
47
47
{
48
48
    Int nz, j, p1, p2, ilast, i, p, result = AMD_OK ;
 
49
 
49
50
    if (n_row < 0 || n_col < 0 || Ap == NULL || Ai == NULL)
50
51
    {
51
52
        return (AMD_INVALID) ;