~ubuntu-branches/ubuntu/wily/igraph/wily-proposed

« back to all changes in this revision

Viewing changes to src/matrix.c

  • Committer: Package Import Robot
  • Author(s): Tamás Nepusz, Andreas Tille, Tamas Nepusz
  • Date: 2014-08-29 08:39:02 UTC
  • mfrom: (7.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140829083902-y4k2iu2mlizkq0o0
Tags: 0.7.1-2
[ Andreas Tille ]
* Move packagiong from SVN to Git

[ Tamas Nepusz ]
* Remove debian/patches/link_f2c.patch; f2c linkage not needed if
  BLAS, LAPACK and ARPACK are all linked dynamically
  Closes: #702882
* debian/patches/remove_unused_test_target.patch added to make
  dh_auto_test work
* debian/patches/fix_failing_tests.patch added to fix some failing
  test cases 
* debian/patches/cppflags_restore.patch added to fix incorrect
  handling of CPPFLAGS in the configure script
* debian/patches/drl_spelling_fix.patch added to fix a spelling
  error in the source and silence a lintian warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
 
100
100
int igraph_matrix_complex_real(const igraph_matrix_complex_t *v, 
101
101
                               igraph_matrix_t *real) {
102
 
  int nrow=igraph_matrix_complex_nrow(v);
103
 
  int ncol=igraph_matrix_complex_ncol(v);
 
102
  long int nrow=igraph_matrix_complex_nrow(v);
 
103
  long int ncol=igraph_matrix_complex_ncol(v);
104
104
  IGRAPH_CHECK(igraph_matrix_resize(real, nrow, ncol));
105
105
  IGRAPH_CHECK(igraph_vector_complex_real(&v->data, &real->data));
106
106
  return 0;
108
108
 
109
109
int igraph_matrix_complex_imag(const igraph_matrix_complex_t *v, 
110
110
                               igraph_matrix_t *imag) {
111
 
  int nrow=igraph_matrix_complex_nrow(v);
112
 
  int ncol=igraph_matrix_complex_ncol(v);
 
111
  long int nrow=igraph_matrix_complex_nrow(v);
 
112
  long int ncol=igraph_matrix_complex_ncol(v);
113
113
  IGRAPH_CHECK(igraph_matrix_resize(imag, nrow, ncol));
114
114
  IGRAPH_CHECK(igraph_vector_complex_imag(&v->data, &imag->data));
115
115
  return 0;
118
118
int igraph_matrix_complex_realimag(const igraph_matrix_complex_t *v, 
119
119
                                   igraph_matrix_t *real, 
120
120
                                   igraph_matrix_t *imag) {
121
 
  int nrow=igraph_matrix_complex_nrow(v);
122
 
  int ncol=igraph_matrix_complex_ncol(v);
 
121
  long int nrow=igraph_matrix_complex_nrow(v);
 
122
  long int ncol=igraph_matrix_complex_ncol(v);
123
123
  IGRAPH_CHECK(igraph_matrix_resize(real, nrow, ncol));
124
124
  IGRAPH_CHECK(igraph_matrix_resize(imag, nrow, ncol));
125
125
  IGRAPH_CHECK(igraph_vector_complex_realimag(&v->data, &real->data,