1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

math/octave-forge-nurbs: update to 1.4.3.

This commit is contained in:
Stephen Montgomery-Smith 2021-04-06 15:25:42 -05:00
parent a6739bcec3
commit 0c1fbf8037
6 changed files with 4 additions and 81 deletions

View File

@ -1,8 +1,7 @@
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
PORTNAME= octave-forge-nurbs
PORTVERSION= 1.3.13
PORTREVISION= 11
PORTVERSION= 1.4.3
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1497927521
SHA256 (octave-forge/nurbs-1.3.13.tar.gz) = dbbfe7072750330e61040e3a9cf6967733229c3272fb4115bb83dd616aa37e7e
SIZE (octave-forge/nurbs-1.3.13.tar.gz) = 108549
TIMESTAMP = 1617740720
SHA256 (octave-forge/nurbs-1.4.3.tar.gz) = a74666a1e204b9feda22c9792b87939239221fd816383bc39f75db72b62a209b
SIZE (octave-forge/nurbs-1.4.3.tar.gz) = 124419

View File

@ -1,11 +0,0 @@
--- bspeval.cc.orig 2021-02-21 22:35:52 UTC
+++ bspeval.cc
@@ -113,7 +113,7 @@ static bool bspeval_bad_arguments (const octave_value_
error("bspeval: the knot vector should be a real vector.");
return true;
}
- if (!args(3).is_real_type())
+ if (!args(3).isreal())
{
error("bspeval: the set of parametric points should be an array of doubles.");
return true;

View File

@ -1,20 +0,0 @@
--- nrb_srf_basisfun__.cc.orig 2021-02-21 22:34:12 UTC
+++ nrb_srf_basisfun__.cc
@@ -66,7 +66,7 @@ DEFUN_DLD(nrb_srf_basisfun__, args, nargout,"\
} // spu = findspan (m, p, u, U);
newargs(3) = U; newargs(2) = p; newargs(1) = u; newargs(0) = spu;
- Matrix Ik = feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Ik = numbasisfun (spu, u, p, U);
+ Matrix Ik = octave::feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Ik = numbasisfun (spu, u, p, U);
RowVector spv(v);
for (octave_idx_type ii(0); ii < v.numel (); ii++)
@@ -75,7 +75,7 @@ DEFUN_DLD(nrb_srf_basisfun__, args, nargout,"\
} // spv = findspan (n, q, v, V);
newargs(3) = V; newargs(2) = q; newargs(1) = v; newargs(0) = spv;
- Matrix Jk = feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Jk = numbasisfun (spv, v, q, V);
+ Matrix Jk = octave::feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Jk = numbasisfun (spv, v, q, V);
Matrix NuIkuk(npt, p+1, 0.0);
for (octave_idx_type ii(0); ii < npt; ii++)

View File

@ -1,34 +0,0 @@
--- nrb_srf_basisfun_der__.cc.orig 2021-02-21 22:32:34 UTC
+++ nrb_srf_basisfun_der__.cc
@@ -73,7 +73,7 @@ DEFUN_DLD(nrb_srf_basisfun_der__, args, nargout,"\
} // spu = findspan (m, p, u, U);
newargs(3) = U; newargs(2) = p; newargs(1) = u; newargs(0) = spu;
- Matrix Ik = feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Ik = numbasisfun (spu, u, p, U);
+ Matrix Ik = octave::feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Ik = numbasisfun (spu, u, p, U);
RowVector spv(v);
for (octave_idx_type ii(0); ii < v.numel (); ii++)
@@ -82,7 +82,7 @@ DEFUN_DLD(nrb_srf_basisfun_der__, args, nargout,"\
} // spv = findspan (n, q, v, V);
newargs(3) = V; newargs(2) = q; newargs(1) = v; newargs(0) = spv;
- Matrix Jk = feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Jk = numbasisfun (spv, v, q, V);
+ Matrix Jk = octave::feval (std::string("numbasisfun"), newargs, 1)(0).matrix_value (); // Jk = numbasisfun (spv, v, q, V);
Matrix NuIkuk(npt, p+1, 0.0);
for (octave_idx_type ii(0); ii < npt; ii++)
@@ -100,11 +100,11 @@ DEFUN_DLD(nrb_srf_basisfun_der__, args, nargout,"\
newargs(4) = 1; newargs(3) = U; newargs(2) = u; newargs(1) = p; newargs(0) = spu;
- NDArray NuIkukprime = feval (std::string("basisfunder"), newargs, 1)(0).array_value (); // NuIkukprime = basisfunder (spu, p, u, U, 1);
+ NDArray NuIkukprime = octave::feval (std::string("basisfunder"), newargs, 1)(0).array_value (); // NuIkukprime = basisfunder (spu, p, u, U, 1);
// NuIkukprime = squeeze(NuJkukprime(:,2,:));
newargs(4) = 1; newargs(3) = V; newargs(2) = v; newargs(1) = q; newargs(0) = spv;
- NDArray NvJkvkprime = feval (std::string("basisfunder"), newargs, 1)(0).array_value (); // NvJkvkprime = basisfunder (spv, q, v, V, 1);
+ NDArray NvJkvkprime = octave::feval (std::string("basisfunder"), newargs, 1)(0).array_value (); // NvJkvkprime = basisfunder (spv, q, v, V, 1);
// NvJkvkprime = squeeze(NvJkvkprime(:,2,:));
for (octave_idx_type k(0); k < npt; k++)

View File

@ -1,11 +0,0 @@
--- tbasisfun.cc.orig 2021-02-21 22:37:09 UTC
+++ tbasisfun.cc
@@ -156,7 +156,7 @@ TBASISFUN: Compute a B- or T-Spline basis function, an
RowVector N(u.cols ());
double *Nptr = N.fortran_vec ();
- if (! args(2).is_cell ())
+ if (! args(2).iscell ())
{
double p = args(1).idx_type_value ();