Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Feb 16, 2016
1 parent 49836f1 commit 11e7342
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions source/initial_conditions/harmonic_perturbation.cc
Expand Up @@ -28,9 +28,9 @@
#include <boost/math/special_functions/spherical_harmonic.hpp>

#ifdef DEBUG
#ifdef ASPECT_USE_FP_EXCEPTIONS
#include <fenv.h>
#endif
# ifdef ASPECT_USE_FP_EXCEPTIONS
# include <fenv.h>
# endif
#endif

namespace aspect
Expand Down Expand Up @@ -91,17 +91,17 @@ namespace aspect
"degree >= 0."));
// use a spherical harmonic function as lateral perturbation
#ifdef DEBUG
#ifdef ASPECT_USE_FP_EXCEPTIONS
// disable floating point exceptions for the boost call below
feclearexcept(FE_DIVBYZERO|FE_INVALID);
#endif
# ifdef ASPECT_USE_FP_EXCEPTIONS
// disable floating point exceptions for the boost call below
feclearexcept(FE_DIVBYZERO|FE_INVALID);
# endif
#endif
lateral_perturbation = boost::math::spherical_harmonic_r(lateral_wave_number_1,lateral_wave_number_2,scoord[2],scoord[1]);
#ifdef DEBUG
#ifdef ASPECT_USE_FP_EXCEPTIONS
// enable floating point exceptions again
feenableexcept(FE_DIVBYZERO|FE_INVALID);
#endif
# ifdef ASPECT_USE_FP_EXCEPTIONS
// enable floating point exceptions again
feenableexcept(FE_DIVBYZERO|FE_INVALID);
# endif
#endif
}
}
Expand Down
6 changes: 3 additions & 3 deletions source/main.cc
Expand Up @@ -28,9 +28,9 @@
#include <string>

#ifdef DEBUG
#ifdef ASPECT_USE_FP_EXCEPTIONS
#include <fenv.h>
#endif
# ifdef ASPECT_USE_FP_EXCEPTIONS
# include <fenv.h>
# endif
#endif

#if ASPECT_USE_SHARED_LIBS==1
Expand Down

0 comments on commit 11e7342

Please sign in to comment.