summaryrefslogtreecommitdiff
path: root/log-reg
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2019-07-28 16:39:21 +0200
committerPatrick Simianer <pks@pks.rocks>2019-07-28 16:39:21 +0200
commit71278b098dcea1a5fb8520ab08b086cded0764fe (patch)
treea9383ace41f49f7fda084756a0890bd976a6abb0 /log-reg
parent1fd4762a41cf84d9b6ebe9ed4dcf83cde78f61d3 (diff)
trollop -> optimist
Diffstat (limited to 'log-reg')
-rwxr-xr-xlog-reg4
1 files changed, 2 insertions, 2 deletions
diff --git a/log-reg b/log-reg
index 82dc353..5e43555 100755
--- a/log-reg
+++ b/log-reg
@@ -2,7 +2,7 @@
require 'zipf'
require 'matrix'
-require 'trollop'
+require 'optimist'
def read_data fn
f = ReadFile.new fn
@@ -36,7 +36,7 @@ def approx_eql x, y, eps=10**-10
end
def main
- conf = Trollop::options do
+ conf = Optimist::options do
opt :input, "input data", :type => :string, :required => true
opt :output, "1/0 output data", :type => :string, :required => true
end