#434 closed defect (fixed)
psFunctions.c uses gsl directly
| Reported by: | jhoblitt | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | types | Version: | 0.5.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
psFunctions.c is violating the abstraction of gsl. The psRandom facilities
should be used instead.
$ grep gsl psFunctions.c
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
const gsl_rng_type *T = NULL;
gsl_rng *r = NULL;
gsl_rng_env_setup();
T = gsl_rng_default;
r = gsl_rng_alloc(T);
gauss->data.F32[i] = mean + gsl_ran_gaussian(r, sigma);
Change History (4)
comment:1 by , 21 years ago
| Owner: | changed from to |
|---|
comment:2 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 20 years ago
| Keywords: | VERIFIED added |
|---|
Note:
See TracTickets
for help on using tickets.

Bug has been resolved.... closing.