Fix build time by *not* converting from double to float on the fly
This commit is contained in:
parent
f4577bcddd
commit
a91493a744
@ -9502,7 +9502,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 22,
|
"execution_count": 14,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@ -9515,7 +9515,7 @@
|
|||||||
" lut.writelines(\"\\t{\\n\")\n",
|
" lut.writelines(\"\\t{\\n\")\n",
|
||||||
" for weight in weights_index:\n",
|
" for weight in weights_index:\n",
|
||||||
" try:\n",
|
" try:\n",
|
||||||
" lut.writelines(\"\\t\\t{\" + \",\".join(\"{:.3f}\".format(round(x, 3)) for x in curves[mach][alt][weight][0].tolist()) + \"},\\n\")\n",
|
" lut.writelines(\"\\t\\t{\" + \",\".join(\"{:.3f}f\".format(round(x, 3)) for x in curves[mach][alt][weight][0].tolist()) + \"},\\n\")\n",
|
||||||
" except IndexError:\n",
|
" except IndexError:\n",
|
||||||
" lut.writelines(\"\\t\\tNULL,\\n\")\n",
|
" lut.writelines(\"\\t\\tNULL,\\n\")\n",
|
||||||
" lut.writelines(\"\\t},\\n\")\n",
|
" lut.writelines(\"\\t},\\n\")\n",
|
||||||
@ -9560,7 +9560,7 @@
|
|||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "Python 3 (ipykernel)",
|
"display_name": "Python 3",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "python3"
|
"name": "python3"
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user