Mercurial > mxe-octave
diff src/of-nurbs-1-fixes.patch @ 3899:1778bfc775d2
Add nurbs package
* src/of-nurbs.mk: new file
* src/of-nurbs-1-fixes.patch: new file
* Makefile.in: add nurbs
* index.html: add nurbs package
* dist-files.mk: add of-nurbs.mk, of-nurbs-1-fixes.patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 13 Apr 2015 06:40:23 -0400 |
parents | |
children | 385f5f4412b7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-nurbs-1-fixes.patch Mon Apr 13 06:40:23 2015 -0400 @@ -0,0 +1,21 @@ +diff -ur nurbs.orig/src/nrbsurfderiveval.cc nurbs/src/nrbsurfderiveval.cc +--- nurbs.orig/src/nrbsurfderiveval.cc 2015-04-13 06:35:14.000000000 -0400 ++++ nurbs/src/nrbsurfderiveval.cc 2015-04-13 06:36:26.000000000 -0400 +@@ -120,7 +120,7 @@ + + Array<idx_vector> idx(dim_vector (3, 1), idx_vector(':')); + idx (0) = idx_vector (3); +- Matrix weights (NDArray (coefs.index (idx).squeeze ()).matrix_value ()); ++ Matrix weights (NDArray (coefs.index (idx).squeeze ())); + + for (octave_idx_type iu(0); iu<uv.cols (); iu++) + { +@@ -132,7 +132,7 @@ + { + + Matrix Aders; idx(0) = idx_vector (idim); +- Matrix P (NDArray (coefs.index (idx).squeeze ()).matrix_value ()); ++ Matrix P (NDArray (coefs.index (idx).squeeze ())); + surfderiveval (n, p, knotsu, m, q, knotsv, P, uv(0,iu), uv(1,iu), d, Aders);; + + for (octave_idx_type k(0); k<=d; k++)