~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/gmath/la.c

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
/*!
99
99
 * \fn int G_matrix_set(mat_struct *A, int rows, int cols, int ldim)
100
100
 *
101
 
 * \brief Set paramaters for an initialized matrix
 
101
 * \brief Set parameters for an initialized matrix
102
102
 *
103
103
 * Set parameters for matrix <b>A</b> that is allocated,
104
104
 * but not yet fully initialized.  Is an alternative to G_matrix_init().
483
483
            integer *perm, res_info;
484
484
            integer num_eqns, nrhs, lda, ldb;
485
485
 
486
 
            perm = (integer *) G_malloc(wmat->rows);
 
486
            perm = (integer *) G_malloc(wmat->rows * sizeof(integer));
487
487
 
488
488
            /* Set fields to pass to fortran routine */
489
489
            num_eqns = (integer) mt1->rows;