[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56810] [octave forge] (nurbs) nrbbasisfunder
From: |
Claudio Catterina |
Subject: |
[Octave-bug-tracker] [bug #56810] [octave forge] (nurbs) nrbbasisfunder fails when called with 4 output arguments |
Date: |
Mon, 26 Aug 2019 13:44:46 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 |
URL:
<https://savannah.gnu.org/bugs/?56810>
Summary: [octave forge] (nurbs) nrbbasisfunder fails when
called with 4 output arguments
Project: GNU Octave
Submitted by: ccatterina
Submitted on: Mon 26 Aug 2019 05:44:45 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: GNU/Linux
_______________________________________________________
Details:
As the function documentation says it should be possible to compute the basis
functions derivatives with respect to the directions `u`, `v` and `w`:
% [Bu, Bv, Bw, N] = nrbbasisfunder ({u, v, w}, vol)
% [Bu, Bv, Bw, N] = nrbbasisfunder (pts, vol)
But due to the following check the function raise an error because nargout >
3:
if ( (nargin<2) ...
|| (nargout>3) ...
|| (~isstruct(nrb)) ...
|| (iscell(points) && ~iscell(nrb.knots)) ...
|| (~iscell(points) && iscell(nrb.knots) &&
(size(points,1)~=numel(nrb.number))) ...
|| (~iscell(nrb.knots) && (nargout>2)) ...
)
error('Incorrect input arguments in nrbbasisfunder');
end
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56810>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56810] [octave forge] (nurbs) nrbbasisfunder fails when called with 4 output arguments,
Claudio Catterina <=