octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43051] function rate of financial package fai


From: anonymous
Subject: [Octave-bug-tracker] [bug #43051] function rate of financial package fail
Date: Fri, 22 Aug 2014 18:06:50 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

URL:
  <http://savannah.gnu.org/bugs/?43051>

                 Summary: function rate of financial package fail
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sex 22 Ago 2014 18:06:49 UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Guilherme
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:


r=rate(84,418.95, 28764)
error: `method' must either be `e' or `b
error: called from:
error:   /usr/share/octave/packages/financial-0.4.0/rate.m at line 61, column
5


It shoud be comparing the m variable and not l in

  if (!any (strcmpi (m, {"e","b"})))
    error ("`method' must either be `e' or `b")
  endif

shoud be

  if (!any (strcmpi (m, {"e","b"})))
    error ("`method' must either be `e' or `b")
  endif







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43051>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]