Skip to content

Commit 6727995

Browse files
committed
tidy
1 parent f80822b commit 6727995

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

camb/_compilers.py

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def check_ifort():
3838

3939
def check_gfortran(version=gfortran_min, msg=False, retry=False):
4040
from packaging.version import parse as parse_version
41-
global compiler_environ
4241
gfortran_version = get_gfortran_version()
4342
version = str(version)
4443
if gfortran_version:

camb/bbn.py

-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ def get_predictor(predictor_name=None):
194194
"""
195195
Get instance of default BBNPredictor class. Currently numerical table interpolation as Planck 2018 analysis.
196196
"""
197-
global _predictors
198197
predictor_name = predictor_name or default_interpolation_table
199198
predictor = _predictors.get(predictor_name, None)
200199
if predictor is None:

camb/symbolic.py

-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,6 @@ def compile_source_function_code(code_body, file_path='', compiler=None, fflags=
790790
if is_32_bit:
791791
fflags = "-m32 " + fflags
792792
if is_windows:
793-
global _first_compile
794793
fflags += ' -static'
795794
if _first_compile:
796795
check_gfortran(msg=True)

0 commit comments

Comments
 (0)