summaryrefslogtreecommitdiff
path: root/gi/pf
diff options
context:
space:
mode:
authorChris Dyer <prguest11@taipan.cs>2012-03-04 23:26:17 +0000
committerChris Dyer <prguest11@taipan.cs>2012-03-04 23:26:17 +0000
commit1fce37b69630269b93cfeca237675f7b2fc66ca4 (patch)
treeff5f68e8b833bee6c25b96fb642c67838ad6fe04 /gi/pf
parent3c918889d86fe1deaa5d26162bf85865f1aa33bd (diff)
fix parameter name clash
Diffstat (limited to 'gi/pf')
-rw-r--r--gi/pf/pyp_lm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pf/pyp_lm.cc b/gi/pf/pyp_lm.cc
index 88dfcc7c..e5c44c8b 100644
--- a/gi/pf/pyp_lm.cc
+++ b/gi/pf/pyp_lm.cc
@@ -29,7 +29,7 @@ shared_ptr<MT19937> prng;
void InitCommandLine(int argc, char** argv, po::variables_map* conf) {
po::options_description opts("Configuration options");
opts.add_options()
- ("samples,s",po::value<unsigned>()->default_value(300),"Number of samples")
+ ("samples,n",po::value<unsigned>()->default_value(300),"Number of samples")
("train,i",po::value<string>(),"Training data file")
("test,T",po::value<string>(),"Test data file")
("discount_prior_a,a",po::value<double>()->default_value(1.0), "discount ~ Beta(a,b): a=this")