diff options
Diffstat (limited to 'adaptive/src')
-rw-r--r-- | adaptive/src/adaptive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adaptive/src/adaptive.c b/adaptive/src/adaptive.c index 5c3b651..1f956b8 100644 --- a/adaptive/src/adaptive.c +++ b/adaptive/src/adaptive.c @@ -79,7 +79,7 @@ void adaptation_write(const char *filename, t_int N, t_float mu, t_float *c) int i;
// open file
- f = fopen(filename, "w");
+ f = sys_fopen(filename, "w");
if(!f)
{
post("adaptive, save: error open file");
@@ -107,7 +107,7 @@ void adaptation_read(const char *filename, t_int *N, t_float *mu, int i, n=0;
// open file
- f = fopen(filename, "r");
+ f = sys_fopen(filename, "r");
if(!f)
{
post("adaptive, open: error open file");
|