Skip to content

Commit

Permalink
fix compiling problems
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jul 6, 2014
1 parent 89eb6bb commit 8f2a0d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SConscript
Expand Up @@ -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()
Expand Down
5 changes: 4 additions & 1 deletion src/simulation/Gravity.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 8f2a0d3

Please sign in to comment.