[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Storing matrices on disk w/ gsl_matrix_complex_fwrite and
From: |
Matthias Sitte |
Subject: |
Re: [Help-gsl] Storing matrices on disk w/ gsl_matrix_complex_fwrite and gsl_matrix_complex_fread |
Date: |
Thu, 13 Oct 2011 14:44:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 |
Hi,
the file is closed and then re-opened again to avoid any issues with
buffered I/O (see lines 185 and below in my code). I've added a call to
fflush(), however, that function should be called implicitly upon
closing the stream.
Best regards,
Matthias
On 10/13/2011 02:23 PM, Francesco Abbate wrote:
> Hi,
>
> I was just wondering if you close the file before opening it again. If
> you forgot to do that this could explain the problem you observe.
>
> Best regards,
> Francesco
signature.asc
Description: OpenPGP digital signature