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": {},
|
"metadata": {},
|
||||||
"output_type": "display_data"
|
"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": {
|
"data": {
|
||||||
"text/html": [
|
"text/html": [
|
||||||
|
|
@ -6508,17 +6523,15 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"for left in auts:\n",
|
"for left in auts[autslen//2:]:\n",
|
||||||
" for right in auts:\n",
|
" for right in auts:\n",
|
||||||
" display_inline(left, right, spot.product(left, right))"
|
" display_inline(left, right, spot.product(left, right))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 4,
|
"execution_count": 5,
|
||||||
"metadata": {
|
"metadata": {},
|
||||||
"scrolled": false
|
|
||||||
},
|
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"data": {
|
"data": {
|
||||||
|
|
@ -10137,7 +10150,21 @@
|
||||||
},
|
},
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"output_type": "display_data"
|
"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": {
|
"data": {
|
||||||
"text/html": [
|
"text/html": [
|
||||||
|
|
@ -13363,7 +13390,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"for left in auts:\n",
|
"for left in auts[autslen//2:]:\n",
|
||||||
" for right in auts:\n",
|
" for right in auts:\n",
|
||||||
" display_inline(left, right, spot.product_or(left, right))"
|
" display_inline(left, right, spot.product_or(left, right))"
|
||||||
]
|
]
|
||||||
|
|
@ -13392,7 +13419,7 @@
|
||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.6.5"
|
"version": "3.6.7rc1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue