Skip to content

Commit 7e80968

Browse files
committed
Attempt at fix of MyPy test failing.
1 parent 40d9b5c commit 7e80968

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/model_solver/model_solver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -954,9 +954,9 @@ def solve_model(self, input_df: pd.DataFrame, jit: bool = True) -> pd.DataFrame:
954954
jit=jit,
955955
)
956956

957-
output_array[period, np.array([var_col_index.get(x) for x in endo_vars])] = (
958-
solution.get("x")
959-
)
957+
output_array[
958+
period, np.array([var_col_index.get(x) for x in endo_vars])
959+
] = solution.get("x")
960960

961961
if solution.get("status") == 1:
962962
warnings += (
@@ -1684,7 +1684,7 @@ def sensitivity(
16841684
# If this is the target block, store the result and break
16851685
output_array[
16861686
period_index, np.array([var_col_index.get(x) for x in endo_vars])
1687-
] = solution.get("x")
1687+
] = solution.get("x")
16881688

16891689
if key == i:
16901690
result[exog_var] = solution.get("x")

0 commit comments

Comments
 (0)