Write as byte file

This commit is contained in:
ysyapa 2023-03-17 23:51:46 -04:00
parent 0890f68d85
commit 17540a1a03
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -30,11 +30,11 @@
"\n", "\n",
"V=calculate_Vs(V_test, 3, 3, N, L, n_image)\n", "V=calculate_Vs(V_test, 3, 3, N, L, n_image)\n",
"\n", "\n",
"outfile = \"temp/V_vals.txt\"\n", "outfile = \"temp/V_vals.dat\"\n",
"\n", "\n",
"open(outfile, \"w\") do f\n", "open(outfile, \"w\") do f\n",
" for i in V\n", " for i in V\n",
" println(f, i)\n", " write(f, i)\n",
" end\n", " end\n",
"end" "end"
] ]