projects
/
pysvrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6644359
)
Fixed a printf format minor bug.
author
Francois Fleuret
<francois@fleuret.org>
Wed, 14 Jun 2017 20:08:14 +0000
(22:08 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Wed, 14 Jun 2017 20:08:14 +0000
(22:08 +0200)
svrt_generator.cc
patch
|
blob
|
history
diff --git
a/svrt_generator.cc
b/svrt_generator.cc
index
a536005
..
1fa4f40
100644
(file)
--- a/
svrt_generator.cc
+++ b/
svrt_generator.cc
@@
-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 %
l
d.\n", labels[i]);
exit(1);
}