From d261d3a0d77a6722b4589ea5853b3941acd497b5 Mon Sep 17 00:00:00 2001 From: jasperdingg Date: Sat, 25 Jul 2026 17:30:48 -0700 Subject: [PATCH 1/2] MAINT: Rephrase wording in test_lqnash comment --- quantecon/tests/test_lqnash.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quantecon/tests/test_lqnash.py b/quantecon/tests/test_lqnash.py index 08cc0b778..7058fe49d 100644 --- a/quantecon/tests/test_lqnash.py +++ b/quantecon/tests/test_lqnash.py @@ -92,7 +92,9 @@ def test_nnash(self): tfi = np.linalg.inv(tf) xbar = tfi.dot(aaa[:2, 2]) - # Define answers from matlab. TODO: this is ghetto + # Define answers from matlab. TODO: hardcoding these + # expected values is a fragile way to pin down the outputs + f1_ml = np.array([ [0.243666582208565, 0.027236062661951, -6.827882928738190], [0.392370733875639, 0.139696450885998, -37.734107291009138] From 19abe5dbabc6524f6adfc3cd9d953c7100db4185 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 10 Sep 2026 09:05:47 +1000 Subject: [PATCH 2/2] Update quantecon/tests/test_lqnash.py Co-authored-by: QuantEcon --- quantecon/tests/test_lqnash.py | 1 - 1 file changed, 1 deletion(-) diff --git a/quantecon/tests/test_lqnash.py b/quantecon/tests/test_lqnash.py index 7058fe49d..47dbd13eb 100644 --- a/quantecon/tests/test_lqnash.py +++ b/quantecon/tests/test_lqnash.py @@ -94,7 +94,6 @@ def test_nnash(self): # Define answers from matlab. TODO: hardcoding these # expected values is a fragile way to pin down the outputs - f1_ml = np.array([ [0.243666582208565, 0.027236062661951, -6.827882928738190], [0.392370733875639, 0.139696450885998, -37.734107291009138]