Mercurial > hg > wm
comparison Meerwald/coeff.c @ 3:acb6967ee76d
update to 0.5
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Tue, 14 Aug 2007 21:11:21 +0200 |
parents | be303a3f5ea8 |
children |
comparison
equal
deleted
inserted
replaced
2:b92f06d9a967 | 3:acb6967ee76d |
---|---|
12 exit(1); | 12 exit(1); |
13 #else | 13 #else |
14 return NULL; | 14 return NULL; |
15 #endif | 15 #endif |
16 } | 16 } |
17 p[0] = (double *) malloc(rows * cols * sizeof(double)); | 17 p[0] = malloc(rows * cols * sizeof(double)); |
18 if (!p[0]) { | 18 if (!p[0]) { |
19 #ifdef DEBUG | 19 #ifdef DEBUG |
20 fprintf(stderr, "alloc_coeffs(): malloc() failed\n"); | 20 fprintf(stderr, "alloc_coeffs(): malloc() failed\n"); |
21 exit(1); | 21 exit(1); |
22 #else | 22 #else |