File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,15 @@ def test_nnash(self):
93
93
xbar = tfi .dot (aaa [:2 , 2 ])
94
94
95
95
# Define answers from matlab. TODO: this is ghetto
96
- f1_ml = np .asarray (np .matrix ("""\
97
- 0.243666582208565, 0.027236062661951, -6.827882928738190;
98
- 0.392370733875639, 0.139696450885998, -37.734107291009138""" ))
99
-
100
- f2_ml = np .asarray (np .matrix ("""\
101
- 0.027236062661951, 0.243666582208565, -6.827882928738186;
102
- 0.139696450885998, 0.392370733875639, -37.734107291009131""" ))
96
+ f1_ml = np .array ([
97
+ [0.243666582208565 , 0.027236062661951 , - 6.827882928738190 ],
98
+ [0.392370733875639 , 0.139696450885998 , - 37.734107291009138 ]
99
+ ])
100
+
101
+ f2_ml = np .array ([
102
+ [0.027236062661951 , 0.243666582208565 , - 6.827882928738186 ],
103
+ [0.139696450885998 , 0.392370733875639 , - 37.734107291009131 ]
104
+ ])
103
105
104
106
xbar_ml = np .array ([1.246871007582702 , 1.246871007582685 ])
105
107
You can’t perform that action at this time.
0 commit comments