1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-19 17:03:46 +02:00

fixed a bug that caused a failing assertion

This commit is contained in:
Oliver Hahn 2012-11-20 17:39:47 +01:00
parent 7a72cd4f0b
commit 0b382467ba
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ HAVEHDF5 = yes
##############################################################################
### compiler and path settings
CC = g++
OPT = -Wall -O3 -g -msse2
OPT = -Wall -Wno-unknown-pragmas -O3 -g -msse2
CFLAGS =
LFLAGS = -lgsl -lgslcblas
CPATHS = -I. -I$(HOME)/local/include -I/opt/local/include -I/usr/local/include

View file

@ -320,7 +320,7 @@ namespace convolution{
{
const size_t sz = ny*nz;
nread = fread( reinterpret_cast<void*>(&kdata_[(size_t)ix * sz]), sizeof(fftw_real), sz, fp );
assert( nread == sz*sizeof(fftw_real) );
assert( nread == sz );
}
fclose(fp);