Skip to content

Commit

Permalink
Fix minor typo and remove duplicated def of n_active (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler authored Jan 24, 2024
1 parent 8c2652a commit ba71f01
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions notebooks/01-forward-dc-resisitivity-2d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -619,16 +619,6 @@
"```"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
"# number of active cells\n",
"n_active = np.sum(active_cells)"
]
},
{
"cell_type": "code",
"execution_count": 20,
Expand Down Expand Up @@ -686,7 +676,7 @@
"\n",
"### <span style=\"color:darkgreen\">Exercise (beginner):</span>\n",
"\n",
"Use [dc.simulation_2d.Simulation2DNodel](https://docs.simpeg.xyz/content/api/generated/SimPEG.electromagnetics.static.resistivity.Simulation2DNodal.html#SimPEG.electromagnetics.static.resistivity.Simulation2DNodal) to define the simulation. We instantiate the simulation by setting the following:\n",
"Use [dc.simulation_2d.Simulation2DNodal](https://docs.simpeg.xyz/content/api/generated/SimPEG.electromagnetics.static.resistivity.Simulation2DNodal.html#SimPEG.electromagnetics.static.resistivity.Simulation2DNodal) to define the simulation. We instantiate the simulation by setting the following:\n",
"\n",
"* **mesh** (the mesh as an input argument)\n",
"* **survey=survey** (set the survey as a keyword argument)\n",
Expand Down

0 comments on commit ba71f01

Please sign in to comment.