| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/octave-forge-nlwing2/files/ |
Upload File : |
--- biotsavart.cc.orig 2021-02-21 21:52:50 UTC
+++ biotsavart.cc
@@ -128,7 +128,7 @@ by a vortex segment joining @code{@var{x}(j,1:3)} and
Matrix X = args(1).matrix_value ();
RowVector dir = args(2).row_vector_value ();
if (CP.cols () == 3
- && X.cols () == 3 && dir.length () == 3)
+ && X.cols () == 3 && dir.numel () == 3)
{
octave_idx_type m = CP.rows (), n = X.rows ();
NDArray vi (dim_vector (m, n, 3));
@@ -148,7 +148,7 @@ by a vortex segment joining @code{@var{x}(j,1:3)} and
Matrix X = args(2).matrix_value ();
RowVector dir = args(3).row_vector_value ();
if (CP.cols () == 3 && CN.cols () == 3 && CP.rows () == CN.rows ()
- && X.cols () == 3 && dir.length () == 3)
+ && X.cols () == 3 && dir.numel () == 3)
{
octave_idx_type m = CP.rows (), n = X.rows ();
Matrix vn (m, n);