source typo
authorJerome Benoit <calculus@rezozer.net>
Sat, 29 Oct 2022 13:15:30 +0000 (14:15 +0100)
committerJerome Benoit <calculus@rezozer.net>
Sat, 29 Oct 2022 13:15:30 +0000 (14:15 +0100)
Origin: vendor, Debian
Forwarded: https://github.com/igraph/igraph/pull/2192
Comment: spelling-error-in-binary
Last-Update: 2022-09-09

Correct spelling error as reported by lintian in some binaries;
meant to silence lintian and eventually to be submitted to the
upstream maintainer.

Gbp-Pq: Name upstream-source-lintian-spelling.patch

src/graph/iterators.c

index 51244c72b00008b104c4ed9a1c61490c005a9deb..cdf39888af7fe3d4bd82db2afeba184f4c9a53b6 100644 (file)
@@ -772,7 +772,7 @@ int igraph_vit_create(const igraph_t *graph,
             IGRAPH_ERROR("Cannot create sequence iterator, starting vertex ID out of range.", IGRAPH_EINVAL);
         }
         if (vs.data.seq.to < 0 || vs.data.seq.to >= igraph_vcount(graph)) {
-            IGRAPH_ERROR("Cannot create sequece iterator, ending vertex ID out of range.", IGRAPH_EINVAL);
+            IGRAPH_ERROR("Cannot create sequence iterator, ending vertex ID out of range.", IGRAPH_EINVAL);
         }
         vit->type = IGRAPH_VIT_SEQ;
         vit->pos = vs.data.seq.from;
@@ -1860,7 +1860,7 @@ int igraph_eit_create(const igraph_t *graph,
             IGRAPH_ERROR("Cannot create sequence iterator, starting edge ID out of range.", IGRAPH_EINVAL);
         }
         if (es.data.seq.to < 0 || es.data.seq.to >= igraph_ecount(graph)) {
-            IGRAPH_ERROR("Cannot create sequece iterator, ending edge ID out of range.", IGRAPH_EINVAL);
+            IGRAPH_ERROR("Cannot create sequence iterator, ending edge ID out of range.", IGRAPH_EINVAL);
         }
         eit->type = IGRAPH_EIT_SEQ;
         eit->pos = es.data.seq.from;