Changing parentheses into square brackets for creating materials_file

This commit is contained in:
johnnyliu27 2017-10-02 11:51:54 -04:00
parent 54052385e4
commit 7f58aa933b

View file

@ -105,7 +105,7 @@
"outputs": [],
"source": [
"# Instantiate a Materials collection\n",
"materials_file = openmc.Materials((fuel, water, zircaloy))\n",
"materials_file = openmc.Materials([fuel, water, zircaloy])\n",
"\n",
"# Export to \"materials.xml\"\n",
"materials_file.export_to_xml()"