File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,11 @@ def __init__(
254254 # 'constant_model_collapsed' should be here except that we allow
255255 # for a collapsed-model Ramsey rate to be calculated (for labour
256256 # and energy purposes)
257- if self .discounting_type in ["constant" , "constant_model_collapsed" , "constant_gwr" ]:
257+ if self .discounting_type in [
258+ "constant" ,
259+ "constant_model_collapsed" ,
260+ "constant_gwr" ,
261+ ]:
258262 self .stream_discount_factors = None
259263
260264 # assert formulas for which clip_gmsl is implemented
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ def ce_from_chunk(
5555 )
5656 else :
5757 result = np .maximum (
58- calculation ,
59- bottom_code ,
58+ calculation ,
59+ bottom_code ,
6060 )
6161 elif recipe == "risk_aversion" :
6262 result = ce_func (
@@ -121,7 +121,7 @@ def reduce_damages(
121121 "ssp" : 1 ,
122122 }
123123 if quantreg :
124- chunkies [' batch' ] = 1
124+ chunkies [" batch" ] = 1
125125 ce_batch_dims = [i for i in gdppc .dims ] + [
126126 i for i in ds .dims if i not in gdppc .dims
127127 ]
You can’t perform that action at this time.
0 commit comments