diff --git a/build/Makefile b/build/Makefile index 663014406..c97dbf982 100644 --- a/build/Makefile +++ b/build/Makefile @@ -204,9 +204,6 @@ endif ifeq ($(GR), yes) FPPFLAGS += -DGR -ifeq ($(METRIC), kerr) - FPPFLAGS += -DKERR -endif ifeq ($(ISENTROPIC), yes) FPPFLAGS += -DISENTROPIC FPPFLAGS += -DLIGHTCURVE diff --git a/src/tests/test_gr.F90 b/src/tests/test_gr.F90 index ef61c5aa8..ea5398427 100644 --- a/src/tests/test_gr.F90 +++ b/src/tests/test_gr.F90 @@ -53,11 +53,7 @@ end subroutine test_gr !----------------------------------------------------------------------- subroutine test_precession(ntests,npass) use metric_tools, only:imetric,imet_kerr,imet_schwarzschild -#ifdef KERR use metric, only:a -#else - real :: a -#endif integer, intent(inout) :: ntests,npass integer :: nerr(6),norbits,nstepsperorbit real :: dt,period,x0,vy0,tmax,angtol,postol @@ -103,11 +99,7 @@ end subroutine test_precession subroutine test_inccirc(ntests,npass) use physcon, only:pi use metric_tools, only:imetric,imet_kerr -#ifdef KERR use metric, only:a -#else - real :: a -#endif integer, intent(inout) :: ntests,npass integer :: nerr(6),norbits,nstepsperorbit real :: dt,period,tmax