X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=svrt_generator.cc;h=33b98ee905541633632374f08ec3334806f9f3d6;hb=4c7ff07760d015a2efad8b7eb0bd44dd9acc9106;hp=a536005efa391bbc1e14a233852335e73a6c440e;hpb=dfca7e16051d1752db7daed892ecb200237e3bb6;p=pysvrt.git
diff --git a/svrt_generator.cc b/svrt_generator.cc
index a536005..33b98ee 100644
--- a/svrt_generator.cc
+++ b/svrt_generator.cc
@@ -18,7 +18,7 @@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with selector. If not, see .
+ * along with svrt. If not, see .
*
*/
@@ -174,7 +174,7 @@ void svrt_generate_vignettes(int n_problem, int nb_vignettes, long *labels,
if(labels[i] == 0 || labels[i] == 1) {
vg->generate(labels[i], &tmp);
} else {
- printf("Vignette class label has to be 0 or 1. Provided value is %d.\n", labels[i]);
+ printf("Vignette class label has to be 0 or 1. Provided value is %ld.\n", labels[i]);
exit(1);
}