Skip to content

Commit

Permalink
bump version; use 1 CPU by default in binder notebooks (much faster)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Feb 14, 2020
1 parent f021be3 commit c57de86
Show file tree
Hide file tree
Showing 9 changed files with 3,607 additions and 745 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -70,6 +70,7 @@ To reproduce legacy results, see these branches:
- *CAMB_sources* is the old public `CAMB Sources <https://camb.info/sources/>`_ code.
- *CAMB_v0* is the old Fortran-oriented (gfortran 4.8-compatible) version as used by the Planck 2018 analysis.
- *rayleigh* includes frequency-dependent Rayleigh scattering
- *python2* is the last Python 2 compatible version

=============

Expand Down
2 changes: 1 addition & 1 deletion camb/__init__.py
Expand Up @@ -7,7 +7,7 @@
__author__ = "Antony Lewis"
__contact__ = "antony at cosmologist dot info"
__url__ = "https://camb.readthedocs.io"
__version__ = "1.1.0.1"
__version__ = "1.1.1"

from . import baseconfig

Expand Down
4 changes: 4 additions & 0 deletions camb/_config.py
@@ -1,3 +1,4 @@
import os
from .baseconfig import import_property, CAMBError
from ctypes import c_char, c_int, c_bool, c_double

Expand Down Expand Up @@ -60,3 +61,6 @@ def __repr__(self):


config = _config()

if os.environ.get('BINDER_LAUNCH_HOST'):
config.ThreadNum = 1 # binder is very slow with more than 1 CPU, force 1 by default
Binary file modified camb/cambdll.dll
Binary file not shown.

0 comments on commit c57de86

Please sign in to comment.