Skip to content

Commit

Permalink
minor typos etc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Feb 11, 2024
1 parent 62f4b8e commit 18c08c1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions camb/baseconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def AllocatableObject(cls=None):
cls = F2003Class
if not issubclass(cls, F2003Class):
raise ValueError("AllocatableObject type must be descended from F2003Class")
res = _class_cache.get(cls, None)
res = _class_cache.get(cls)
if res:
return res
else:
Expand Down Expand Up @@ -615,7 +615,7 @@ def dict(cls, state):
"""
Make an instance of the class from a dictionary of field values (used to restore from repr)
:param state: dictinary of values
:param state: dictionary of values
:return: new instance
"""
c = cls.__new__(cls)
Expand Down
2 changes: 1 addition & 1 deletion camb/bbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BBN_table_interpolator(BBNPredictor):
"""
BBN predictor based on interpolation from a numerical table calculated by a BBN code.
Tables are supplied for `Parthenope <http://parthenope.na.infn.it/>`_ 2017 (PArthENoPE_880.2_standard.dat, default),
Tables are supplied for `Parthenope <http://parthenope.na.infn.it/>`_ 2017 (PArthENoPE_880.2_standard.dat),
similar but with Marucci rates (PArthENoPE_880.2_marcucci.dat),
`PRIMAT <http://www2.iap.fr/users/pitrou/primat.htm>`_ (PRIMAT_Yp_DH_Error.dat, PRIMAT_Yp_DH_ErrorMC_2021.dat).
Expand Down
1 change: 0 additions & 1 deletion camb/correlations.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"""

import numpy as np
import os
from scipy.special import lpn as legendrep

try:
Expand Down
2 changes: 1 addition & 1 deletion camb/tests/hmcode_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def testHMcode(self):
'mead2020_feedback': 124
}

# Read in and sort Mead benchmark datawi
# Read in and sort Mead benchmark data
def read_Mead_benchmark(infile):

# Read data and split into k, a and Pk
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sys
import subprocess
import re
import os
import shutil
from typing import Any
Expand Down

0 comments on commit 18c08c1

Please sign in to comment.