Skip to content

Commit

Permalink
fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
zdelrosario committed Nov 13, 2023
1 parent f015839 commit 72f4d34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions grama/models/piston.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ def make_piston_rand():
>> cp_vec_function(
fun=lambda df: df_make(
rv_0=df.v_0 * (1 + df.dv_0),
rk= df.k * (1 + df.dk),
rk=df.k * (1 + df.dk),
rp_0=df.p_0 * (1 + df.dp_0),
rt_a=df.t_a * (1 + df.dt_a),
rt_0=df.t_0 * (1 + df.dt_0),
),
var=[ "v_0", "k", "p_0", "t_a", "t_0",
"dv_0", "dk", "dp_0", "dt_a", "dt_0" ],
var=[ "v_0", "k", "p_0", "t_a", "t_0",
"dv_0", "dk", "dp_0", "dt_a", "dt_0"],
out=["rv_0", "rk", "rp_0", "rt_a", "rt_0"],
name="Random operating disturbances",
)
Expand Down Expand Up @@ -161,7 +161,7 @@ def make_piston_rand():
)
>> cp_marginals(
dv_0=marg_mom("uniform", mean=0, sd=0.40),
dk =marg_mom("uniform", mean=0, sd=0.40),
dk=marg_mom("uniform", mean=0, sd=0.40),
dp_0=marg_mom("uniform", mean=0, sd=0.40),
dt_a=marg_mom("uniform", mean=0, sd=0.40),
dt_0=marg_mom("uniform", mean=0, sd=0.40),
Expand Down

0 comments on commit 72f4d34

Please sign in to comment.