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

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/Source/cs_convert.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:
6
6
{
7
7
    cs_di *C ;
8
8
    int n, triplet, nn, p, nz, *Ap, *Ai, *Cp, *Ci ;
9
 
    double _Complex *Ax ;
 
9
    cs_complex_t *Ax ;
10
10
    double *Cx ;
11
11
    if (!A || !A->x) return (NULL) ;    /* return if A NULL or pattern-only */
12
12
    n = A->n ; Ap = A->p ; Ai = A->i ; Ax = A->x ;
30
30
    cs_ci *C ;
31
31
    int n, triplet, nn, p, nz, *Ap, *Ai, *Cp, *Ci ;
32
32
    double *Ax ;
33
 
    double _Complex *Cx ;
 
33
    cs_complex_t *Cx ;
34
34
    if (!A || !A->x) return (NULL) ;    /* return if A NULL or pattern-only */
35
35
    n = A->n ; Ap = A->p ; Ai = A->i ; Ax = A->x ;
36
36
    triplet = (A->nz >= 0) ;            /* true if A is a triplet matrix */
52
52
{
53
53
    cs_dl *C ;
54
54
    UF_long n, triplet, nn, p, nz, *Ap, *Ai, *Cp, *Ci ;
55
 
    double _Complex *Ax ;
 
55
    cs_complex_t *Ax ;
56
56
    double *Cx ;
57
57
    if (!A || !A->x) return (NULL) ;    /* return if A NULL or pattern-only */
58
58
    n = A->n ; Ap = A->p ; Ai = A->i ; Ax = A->x ;
76
76
    cs_cl *C ;
77
77
    UF_long n, triplet, nn, p, nz, *Ap, *Ai, *Cp, *Ci ;
78
78
    double *Ax ;
79
 
    double _Complex *Cx ;
 
79
    cs_complex_t *Cx ;
80
80
    if (!A || !A->x) return (NULL) ;    /* return if A NULL or pattern-only */
81
81
    n = A->n ; Ap = A->p ; Ai = A->i ; Ax = A->x ;
82
82
    triplet = (A->nz >= 0) ;            /* true if A is a triplet matrix */