Fawzi Mohamed Wrote: > check your algorithm (you initialize, backwards for some strange > reason) just part of the arrays... > putting > xs[] = 1.0; > ys[] = 2.0; > instead of your strange loops, solves everything... > but if i need evident init loop(replace constant to random initialization)?? did you mean that in this case i must use `mallloc` function