solve build issue on Debian unstable i386
* tests/python/_product_weak.ipynb: Split large loop in two cells.
This commit is contained in:
parent
82a152c38a
commit
e5f76b77d4
1 changed files with 36 additions and 9 deletions
|
|
@ -3398,7 +3398,22 @@
|
|||
},
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
},
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"autslen = len(auts)\n",
|
||||
"# We have trouble with Jupyter on i386, where running the full loop abort with some low-level \n",
|
||||
"# exeptions from Jupyter client. \n",
|
||||
"for left in auts[0:autslen//2]:\n",
|
||||
" for right in auts:\n",
|
||||
" display_inline(left, right, spot.product(left, right))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
|
|
@ -6508,17 +6523,15 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"for left in auts:\n",
|
||||
"for left in auts[autslen//2:]:\n",
|
||||
" for right in auts:\n",
|
||||
" display_inline(left, right, spot.product(left, right))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"metadata": {
|
||||
"scrolled": false
|
||||
},
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
|
|
@ -10137,7 +10150,21 @@
|
|||
},
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
},
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"for left in auts[0:autslen//2]:\n",
|
||||
" for right in auts:\n",
|
||||
" display_inline(left, right, spot.product_or(left, right))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"metadata": {
|
||||
"scrolled": false
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
|
|
@ -13363,7 +13390,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"for left in auts:\n",
|
||||
"for left in auts[autslen//2:]:\n",
|
||||
" for right in auts:\n",
|
||||
" display_inline(left, right, spot.product_or(left, right))"
|
||||
]
|
||||
|
|
@ -13392,7 +13419,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.5"
|
||||
"version": "3.6.7rc1"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue