Skip to content

Commit 4aebec9

Browse files
authored
vector function pb, incompatible with system vector definition (#34)
1 parent d165d8f commit 4aebec9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libtools/NR_nrutil.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void nrerror(const char error_text[])
1717

1818

1919

20-
float *vector(int nl,int nh)
20+
float *fvector(int nl,int nh)
2121
{
2222
float *v;
2323

src/libtools/NR_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define _UTIL_H
2525

2626
void nrerror(const char error_text[]);
27-
float *vector(int nl,int nh);
27+
float *fvector(int nl,int nh);
2828
int *ivector(int nl,int nh);
2929
double *dvector(int nl,int nh);
3030
float **matrix(int nrl,int nrh,int ncl,int nch);

0 commit comments

Comments
 (0)