Permalink
Browse files

fix compiling problems

  • Loading branch information...
jacob1 committed Jul 6, 2014
1 parent 89eb6bb commit 8f2a0d3eb3b4cc1d014d5b7a01b5b7ebf70956ef
Showing with 5 additions and 2 deletions.
  1. +1 −1 SConscript
  2. +4 −1 src/simulation/Gravity.cpp
@@ -339,7 +339,7 @@ elif not GetOption('help'):
conf.AddTest('CheckBit', CheckBit)
if not conf.CheckCC() or not conf.CheckCXX():
FatalError("compiler not correctly configured")
if isX86 and not GetOption('32bit') and not GetOption('64bit'):
if platform == compilePlatform and isX86 and not GetOption('32bit') and not GetOption('64bit'):
conf.CheckBit()
findLibs(env, conf)
env = conf.Finish()
@@ -144,7 +144,10 @@ void Gravity::update_grav_async()
//memset(th_gravy, 0, XRES*YRES*sizeof(float));
//memset(th_gravx, 0, XRES*YRES*sizeof(float));
//memset(th_gravp, 0, XRES*YRES*sizeof(float));
if (!grav_fft_status) grav_fft_init();
#ifdef GRAVFFT
if (!grav_fft_status)
grav_fft_init();
#endif
while(!thread_done){
if(!done){
update_grav();

0 comments on commit 8f2a0d3

Please sign in to comment.