Skip to content

Commit 7020893

Browse files
committed
Fix linting issues
1 parent 54f531b commit 7020893

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

econml/tests/test_deepiv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ def test_mog_models(self):
481481
l2 = keras.layers.Dense(10, activation='relu')
482482
l3 = keras.layers.Dense(10, activation='relu')
483483

484-
def norm(l):
485-
return l # keras.layers.BatchNormalization()
484+
def norm(lr):
485+
return lr # keras.layers.BatchNormalization()
486486

487487
x_network = l3(norm(l2(norm(l1(x_input)))))
488488

econml/tests/test_two_stage_least_squares.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ def test_2sls(self):
127127
a = np.random.normal(size=(d_w, d_t))
128128
b = np.random.normal(size=(d_w, d_y))
129129
x = np.random.uniform(size=(n, d_x)) + e
130-
p = x + z * e + w@a + np.random.uniform(size=(n, d_t))
131-
y = p * x + e + w@b
130+
p = x + z * e + w @ a + np.random.uniform(size=(n, d_t))
131+
y = p * x + e + w @ b
132132

133133
losses = []
134134
marg_effs = []

0 commit comments

Comments
 (0)