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:
parent
7a72cd4f0b
commit
0b382467ba
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue