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

« back to all changes in this revision

Viewing changes to CXSparse/Source/cs_symperm.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:
32
32
            if (i > j) continue ;       /* skip lower triangular part of A*/
33
33
            i2 = pinv ? pinv [i] : i ;  /* row i of A is row i2 of C */
34
34
            Ci [q = w [CS_MAX (i2, j2)]++] = CS_MIN (i2, j2) ;
35
 
            if (Cx) Cx [q] = Ax [p] ;
 
35
            if (Cx) Cx [q] = (i2 <= j2) ? Ax [p] : CS_CONJ (Ax [p]) ;
36
36
        }
37
37
    }
38
38
    return (cs_done (C, w, NULL, 1)) ;  /* success; free workspace, return C */