Skip to content

Commit 1e800b8

Browse files
authored
Merge pull request AllenDowney#32 from struck89/master
Update chap02
2 parents 4aef771 + a301ad5 commit 1e800b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/chap02.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@
447447
"source": [
448448
"## Amplitude and phase\n",
449449
"\n",
450-
"Make a triangle wave."
450+
"Make a sawtooth wave."
451451
]
452452
},
453453
{
@@ -691,6 +691,7 @@
691691
"outputs": [],
692692
"source": [
693693
"i = complex(0, 1)\n",
694+
"spectrum = wave.make_spectrum()\n",
694695
"spectrum.hs = magnitude * np.exp(i * angle)"
695696
]
696697
},

0 commit comments

Comments
 (0)