From 71278b098dcea1a5fb8520ab08b086cded0764fe Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 28 Jul 2019 16:39:21 +0200 Subject: trollop -> optimist --- log-reg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'log-reg') 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 -- cgit v1.2.3