Skip to content

Commit a34d3d6

Browse files
committed
changes
1 parent c92aa97 commit a34d3d6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/user-guide/estia/polcal.ipynb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
" An = np.stack([[a.values for a in row] for row in A])\n",
139139
" An = An.transpose((*range(2, An.ndim), 0, 1))\n",
140140
" bn = np.stack([bi.values for bi in b], axis=-1)\n",
141-
" xn = np.linalg.solve(An, bn)\n",
141+
" xn = np.linalg.solve(An, bn[..., None])[..., 0]\n",
142142
" xn = xn.transpose((xn.ndim-1, *range(xn.ndim-1)))\n",
143143
" out = []\n",
144144
" for bi, v in zip(b, xn):\n",
@@ -298,6 +298,16 @@
298298
"| Unbiased in the high counts limit | No | Yes | Yes |\n",
299299
"| Robust to low counts | Yes | No | No |"
300300
]
301+
},
302+
{
303+
"cell_type": "code",
304+
"execution_count": null,
305+
"id": "9",
306+
"metadata": {},
307+
"outputs": [],
308+
"source": [
309+
"np.__version__"
310+
]
301311
}
302312
],
303313
"metadata": {

0 commit comments

Comments
 (0)