Skip to content

Commit

Permalink
Cannot use the __add__ interface to couple more than two processes to…
Browse files Browse the repository at this point in the history
…gether. Use climlab.couple() instead.
  • Loading branch information
brian-rose committed Feb 19, 2018
1 parent 42fab0b commit 23e24e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion climlab/tests/test_rrtm.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_radiative_forcing():
state=state,
adj_lapse_rate=6.5)
# Couple everything together
rcm = rad + h2o + conv
rcm = climlab.couple([rad,h2o,conv], name='Radiative-Convective Model')

rcm.integrate_years(5.)
assert np.abs(rcm.ASR - rcm.OLR) < 0.1 # close to energy balance
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
path: ../

build:
number: 0
number: 1

requirements:
build:
Expand Down

0 comments on commit 23e24e7

Please sign in to comment.