Skip to content

Commit 18927f9

Browse files
authored
Fix typos (#2811)
1 parent bebba4c commit 18927f9

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

examples/dnn_dcgan_train_ex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
the discriminator to update the generator.
2121
2222
In this example, we are going to learn how to generate digits from the MNIST dataset, but
23-
the same code can be run using the Fashion MNIST datset:
23+
the same code can be run using the Fashion MNIST dataset:
2424
https://github.com/zalandoresearch/fashion-mnist
2525
*/
2626

examples/dnn_semantic_segmentation_ex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
// Introduce the building blocks used to define the segmentation network.
4242
// The network first does residual downsampling (similar to the dnn_imagenet_(train_)ex
4343
// example program), and then residual upsampling. In addition, U-Net style skip
44-
// connections are used, so that not every simple detail needs to reprented on the low
44+
// connections are used, so that not every simple detail needs to represented on the low
4545
// levels. (See Ronneberger et al. (2015), U-Net: Convolutional Networks for Biomedical
4646
// Image Segmentation, https://arxiv.org/pdf/1505.04597.pdf)
4747

examples/ffmpeg_rtsp_ex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ try
107107
{
108108
// The muxer acts as an RTSP client, so we don't use {"rtsp_flags", "listen"}
109109
// When using RTSP, it is usually a good idea to specify muxer::args::output_format = "rtsp"
110-
// even though the URL has rtsp:// in its address. Whether or not you need to specify args.output_formt = "rtsp"
110+
// even though the URL has rtsp:// in its address. Whether or not you need to specify args.output_format = "rtsp"
111111
// depends on your version of ffmpeg.
112112
muxer writer([&] {
113113
muxer::args args;

examples/ffmpeg_screen_grab_ex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ try
4444
}
4545
else
4646
{
47-
printf("Sorry your installation of ffmpeg doens't support screen grab\n");
47+
printf("Sorry your installation of ffmpeg doesn't support screen grab\n");
4848
}
4949

5050
return EXIT_SUCCESS;

examples/optimization_ex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const column_vector rosen_derivative (const column_vector& m)
6767
return res;
6868
}
6969

70-
// This function computes the Hessian matrix for the rosen() fuction. This is
70+
// This function computes the Hessian matrix for the rosen() function. This is
7171
// the matrix of second derivatives.
7272
matrix<double> rosen_hessian (const column_vector& m)
7373
{

examples/sockstreambuf_ex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ int main()
7979
// In any case, this function is provided to allow you to perform a graceful
8080
// close if you so choose.
8181
//
82-
// Also note that the timeout can be changed by suppling an optional argument
82+
// Also note that the timeout can be changed by supplying an optional argument
8383
// to this function.
8484
close_gracefully(con);
8585
}

0 commit comments

Comments
 (0)