[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] sort
From: |
Duane Petrovich |
Subject: |
[Bug-gsl] sort |
Date: |
Thu, 20 Oct 2005 16:12:11 +0300 (EEST) |
Hello.
gsl version: 1.7
amd64
gcc 3.2.3
i didnt use any special options when building gsl
Red Hat Linux 3.2.3-49
problem:
gsl_sort_index segfaults using a million elements.
seems to work fine with a smaller number of elements.
perhaps im doing something wrong...
thanks,
Duane
---------------------------------------------
int main()
{
int i;
int N = 1000000;
double x[1000000];
size_t y[1000000];
for(i=0;i<N;i++)
x[i]=N-i;
// gsl_sort (x,1,N);
gsl_sort_index(y,x,1,N);
return 0;
}
- [Bug-gsl] sort,
Duane Petrovich <=