Hello community,
here is the log from the commit of package octave-forge-symbolic for
openSUSE:Factory checked in at 2018-11-26 10:29:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-symbolic (Old)
and /work/SRC/openSUSE:Factory/.octave-forge-symbolic.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-symbolic"
Mon Nov 26 10:29:10 2018 rev:8 rq:651315 version:2.7.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/octave-forge-symbolic/octave-forge-symbolic.changes
2018-08-20 16:19:28.164826598 +0200
+++
/work/SRC/openSUSE:Factory/.octave-forge-symbolic.new.19453/octave-forge-symbolic.changes
2018-11-26 10:29:24.289091414 +0100
@@ -1,0 +2,8 @@
+Wed Nov 21 11:57:57 UTC 2018 - [email protected]
+
+- Update to version 2.7.1:
+ * New symbolic command: numdem
+ * Fixes for SymPy 1.3.
+ * Various bug fixes and documentation updates.
+
+-------------------------------------------------------------------
Old:
----
symbolic-2.7.0.tar.gz
New:
----
symbolic-2.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ octave-forge-symbolic.spec ++++++
--- /var/tmp/diff_new_pack.aaENuT/_old 2018-11-26 10:29:25.069090499 +0100
+++ /var/tmp/diff_new_pack.aaENuT/_new 2018-11-26 10:29:25.073090494 +0100
@@ -18,7 +18,7 @@
%define octpkg symbolic
Name: octave-forge-%{octpkg}
-Version: 2.7.0
+Version: 2.7.1
Release: 0
Summary: Octave Symbolic Package using SymPy
License: GPL-3.0-or-later
++++++ symbolic-2.7.0.tar.gz -> symbolic-2.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/DESCRIPTION
new/symbolic-2.7.1/DESCRIPTION
--- old/symbolic-2.7.0/DESCRIPTION 2018-07-13 06:13:19.000000000 +0200
+++ new/symbolic-2.7.1/DESCRIPTION 2018-10-02 09:19:21.000000000 +0200
@@ -1,6 +1,6 @@
Name: symbolic
-Version: 2.7.0
-Date: 2018-07-12
+Version: 2.7.1
+Date: 2018-10-02
Author: Colin B. Macdonald <[email protected]>
Maintainer: Colin B. Macdonald <[email protected]>
Title: Octave Symbolic Package using SymPy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/NEWS new/symbolic-2.7.1/NEWS
--- old/symbolic-2.7.0/NEWS 2018-07-13 06:13:19.000000000 +0200
+++ new/symbolic-2.7.1/NEWS 2018-10-02 09:19:21.000000000 +0200
@@ -1,4 +1,17 @@
-octsympy 2.7.0 (2017-07-12)
+octsympy 2.7.1 (2018-10-02)
+===========================
+
+ * New symbolic commands:
+
+ numdem
+
+ * Fixes for SymPy 1.3.
+
+ * Various bug fixes and documentation updates.
+
+
+
+octsympy 2.7.0 (2018-07-12)
===========================
* New symbolic commands:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/equationsToMatrix.m
new/symbolic-2.7.1/inst/@sym/equationsToMatrix.m
--- old/symbolic-2.7.0/inst/@sym/equationsToMatrix.m 2018-07-13
06:13:19.000000000 +0200
+++ new/symbolic-2.7.1/inst/@sym/equationsToMatrix.m 2018-10-02
09:19:21.000000000 +0200
@@ -1,5 +1,5 @@
-%% Copyright (C) 2016 Lagu
-%% Copyright (C) 2016 Colin B. Macdonald
+% Copyright (C) 2016 Lagu
+%% Copyright (C) 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -53,7 +53,7 @@
%% @group
%% syms a
%% [A, b] = equationsToMatrix (a*x + y == 1, y - x == a)
-%% @print{} ??? Cannot convert to matrix; system may not be linear.
+%% @print{} ??? ... nonlinear...
%%
%% [A, b] = equationsToMatrix (a*x + y == 1, y - x == a, x, y)
%% @result{} A = (sym 2×2 matrix)
@@ -99,11 +99,10 @@
function [A, b] = equationsToMatrix(varargin)
- s = symvar ([varargin{:}]);
+ % when Symbols are specified, this won't be used
+ s = findsymbols (varargin);
cmd = {'L, symvars = _ins'
- 'if isinstance(symvars, Symbol):'
- ' symvars = [symvars]'
'if not isinstance(L[-1], MatrixBase):'
' if isinstance(L[-1], Symbol):' % Symbol given, fill vars...
' vars = list()'
@@ -119,6 +118,16 @@
' vars = symvars'
' else:'
' vars = L.pop(-1)'
+ 'if Version(spver) > Version("1.3"):'
+ ' if len(L) == 1:' % might be matrix of eqns, don't want [Matrix]
+ ' L = L[0]'
+ ' vars = list(vars)'
+ ' A, B = linear_eq_to_matrix(L, vars)'
+ ' B = B.doit()' % temp,
https://github.com/sympy/sympy/issues/15312
+ ' return True, A, B'
+ '#'
+ '# sympy <= 1.3: we do the work ourselves'
+ '#'
'vars = list(collections.OrderedDict.fromkeys(vars))' %% Never repeat
elements
'if len(L) == 1 and isinstance(L[0], MatrixBase):'
' L = [a for a in L[0]]'
@@ -148,7 +157,7 @@
if ~s
- error('Cannot convert to matrix; system may not be linear.');
+ error('Cannot convert to matrix; system may be nonlinear.');
end
end
@@ -202,6 +211,15 @@
%! assert (isequal (B, b))
%!test
+%! % vertical list of equations
+%! syms x y
+%! [A, B] = equationsToMatrix ([-6*x + 4*y == 5; 4*x - 4*y - 5], [x y]);
+%! a = sym ([-6 4; 4 -4]);
+%! b = sym ([5; 5]);
+%! assert (isequal (A, a))
+%! assert (isequal (B, b))
+
+%!test
%! syms x y
%! [A, B] = equationsToMatrix (5*x == 1, y, x - 6*y - 7, y);
%! a = sym ([0; 1; -6]);
@@ -209,7 +227,7 @@
%! assert (isequal (A, a))
%! assert (isequal (B, b))
-%!error <system may not be linear>
+%!error <nonlinear>
%! syms x y
%! [A, B] = equationsToMatrix (x^2 + y^2 == 1, x - y + 1, x, y);
@@ -230,3 +248,10 @@
%! b = sym (2);
%! assert (isequal (A, a))
%! assert (isequal (B, b))
+
+%!error <unique>
+%! if (python_cmd ('return Version(spver) <= Version("1.3")'))
+%! error ('unique')
+%! end
+%! syms x
+%! equationsToMatrix (3*x == 2, [x x])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/ilaplace.m
new/symbolic-2.7.1/inst/@sym/ilaplace.m
--- old/symbolic-2.7.0/inst/@sym/ilaplace.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/ilaplace.m 2018-10-02 09:19:21.000000000
+0200
@@ -29,16 +29,21 @@
%% @example
%% @group
%% syms g(s) t
+%% @c doctest: +SKIP_UNLESS(python_cmd('return Version(spver) >
Version("1.2")'))
%% f(t) = rewrite(ilaplace(g), 'Integral')
%% @result{} f(t) = (symfun)
%% c + ∞⋅ⅈ
%% ⌠
%% ⎮ s⋅t
-%% ⎮ g(s)⋅ℯ ds
+%% -ⅈ⋅ ⎮ g(s)⋅ℯ ds
%% ⌡
%% c - ∞⋅ⅈ
+%% ────────────────────────
+%% 2⋅π
%% @end group
%% @end example
+%% (This expression is usually written simply as the integral divided by
+%% @code{2⋅π⋅ⅈ}.)
%%
%% Example:
%% @example
@@ -128,6 +133,11 @@
cmd = { 'F, s, t = _ins'
'f = inverse_laplace_transform(F, s, t)'
+ 'if Version(spver) > Version("1.2"):'
+ ' return f'
+ '#'
+ '# older sympy hacks'
+ '#'
'if not f.has(InverseLaplaceTransform):'
' return f,'
'f=0; a_ = sp.Wild("a_"); b_ = sp.Wild("b_")'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/minus.m
new/symbolic-2.7.1/inst/@sym/minus.m
--- old/symbolic-2.7.0/inst/@sym/minus.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/minus.m 2018-10-02 09:19:21.000000000
+0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -37,7 +37,7 @@
function z = minus(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/mldivide.m
new/symbolic-2.7.1/inst/@sym/mldivide.m
--- old/symbolic-2.7.0/inst/@sym/mldivide.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/mldivide.m 2018-10-02 09:19:21.000000000
+0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -89,7 +89,7 @@
function x = mldivide(A, b)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(A, 'symfun') || isa(b, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/mpower.m
new/symbolic-2.7.1/inst/@sym/mpower.m
--- old/symbolic-2.7.0/inst/@sym/mpower.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/mpower.m 2018-10-02 09:19:21.000000000
+0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -62,7 +62,7 @@
function z = mpower(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/mrdivide.m
new/symbolic-2.7.1/inst/@sym/mrdivide.m
--- old/symbolic-2.7.0/inst/@sym/mrdivide.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/mrdivide.m 2018-10-02 09:19:21.000000000
+0200
@@ -70,7 +70,7 @@
function z = mrdivide(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/mtimes.m
new/symbolic-2.7.1/inst/@sym/mtimes.m
--- old/symbolic-2.7.0/inst/@sym/mtimes.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/mtimes.m 2018-10-02 09:19:21.000000000
+0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -50,7 +50,7 @@
function z = mtimes(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/numdem.m
new/symbolic-2.7.1/inst/@sym/numdem.m
--- old/symbolic-2.7.0/inst/@sym/numdem.m 1970-01-01 01:00:00.000000000
+0100
+++ new/symbolic-2.7.1/inst/@sym/numdem.m 2018-10-02 09:19:21.000000000
+0200
@@ -0,0 +1,108 @@
+%% Copyright (C) 2018 Colin B. Macdonald
+%%
+%% This file is part of OctSymPy.
+%%
+%% OctSymPy is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published
+%% by the Free Software Foundation; either version 3 of the License,
+%% or (at your option) any later version.
+%%
+%% This software is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty
+%% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
+%% the GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public
+%% License along with this software; see the file COPYING.
+%% If not, see <http://www.gnu.org/licenses/>.
+
+%% -*- texinfo -*-
+%% @documentencoding UTF-8
+%% @deftypemethod @@sym {[@var{N}, @var{D}] =} numdem (@var{f})
+%% Numerator and denominator of an expression.
+%%
+%% Examples:
+%% @example
+%% @group
+%% f = sym(5)/6;
+%% [N, D] = numdem (f)
+%% @result{} N = (sym) 5
+%% @result{} D = (sym) 6
+%% @end group
+%%
+%% @group
+%% syms x
+%% f = (x^2+2*x-1)/(2*x^3+9*x^2+6*x+3)
+%% @result{} f = (sym)
+%% 2
+%% x + 2⋅x - 1
+%% ─────────────────────
+%% 3 2
+%% 2⋅x + 9⋅x + 6⋅x + 3
+%%
+%% [N, D] = numdem (f)
+%% @result{} N = (sym)
+%% 2
+%% x + 2⋅x - 1
+%%
+%% @result{} D = (sym)
+%% 3 2
+%% 2⋅x + 9⋅x + 6⋅x + 3
+%% @end group
+%% @end example
+%%
+%% @var{f} can be a matrix, for example:
+%% @example
+%% @group
+%% f = [1/x exp(x) exp(-x)];
+%% @c @result{} f = (sym 1×3 matrix)
+%% @c ⎡1 x -x⎤
+%% @c ⎢─ ℯ ℯ ⎥
+%% @c ⎣x ⎦
+%% [N, D] = numdem (f)
+%% @result{} N = (sym 1×3 matrix)
+%% ⎡ x ⎤
+%% ⎣1 ℯ 1⎦
+%%
+%% @result{} D = (sym 1×3 matrix)
+%% ⎡ x⎤
+%% ⎣x 1 ℯ ⎦
+%% @end group
+%% @end example
+%%
+%% @seealso{@@sym/partfrac, @@sym/children}
+%% @end deftypemethod
+
+function [N, D] = numdem(f)
+
+ if (nargin ~= 1)
+ print_usage ();
+ end
+
+ cmd = { 'f, = _ins'
+ 'if not isinstance(f, MatrixBase):'
+ ' return fraction(f)'
+ 'n = f.as_mutable()'
+ 'd = n.copy()'
+ 'for i in range(0, len(n)):'
+ ' n[i], d[i] = fraction(f[i])'
+ 'return n, d' };
+
+ [N, D] = python_cmd (cmd, f);
+
+end
+
+
+%!error <Invalid> numdem (sym(1), 2)
+
+%!test
+%! syms x
+%! [n, d] = numdem(1/x);
+%! assert (isequal (n, sym(1)) && isequal (d, x))
+
+%!test
+%! syms x y
+%! n1 = [sym(1); x];
+%! d1 = [x; y];
+%! [n, d] = numdem(n1 ./ d1);
+%! assert (isequal (n, n1) && isequal (d, d1))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/plus.m
new/symbolic-2.7.1/inst/@sym/plus.m
--- old/symbolic-2.7.0/inst/@sym/plus.m 2018-07-13 06:13:19.000000000 +0200
+++ new/symbolic-2.7.1/inst/@sym/plus.m 2018-10-02 09:19:21.000000000 +0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -37,7 +37,7 @@
function z = plus(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/power.m
new/symbolic-2.7.1/inst/@sym/power.m
--- old/symbolic-2.7.0/inst/@sym/power.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/power.m 2018-10-02 09:19:21.000000000
+0200
@@ -62,7 +62,7 @@
function z = power(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/rdivide.m
new/symbolic-2.7.1/inst/@sym/rdivide.m
--- old/symbolic-2.7.0/inst/@sym/rdivide.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/rdivide.m 2018-10-02 09:19:21.000000000
+0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -86,7 +86,7 @@
function z = rdivide(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/svd.m
new/symbolic-2.7.1/inst/@sym/svd.m
--- old/symbolic-2.7.0/inst/@sym/svd.m 2018-07-13 06:13:19.000000000 +0200
+++ new/symbolic-2.7.1/inst/@sym/svd.m 2018-10-02 09:19:21.000000000 +0200
@@ -91,8 +91,21 @@
%! s = svd(A);
%! s2 = subs(s, x, 2);
%! assert (isequal (s2, [sym(5); 3]))
-%! s2 = subs(s, x, -5);
-%! assert (isequal (s2, [sym(9); 4]))
+
+%!test
+%! % matrix with symbols
+%! syms x positive
+%! A = [x+1 0; sym(0) 2*x+1];
+%! s = svd(A);
+%! s2 = subs(s, x, 2);
+%! assert (isequal (s2, [sym(5); 3]))
+
+%!test
+%! % matrix with symbols, nonneg sing values
+%! syms x real
+%! A = [x 0; 0 sym(-5)];
+%! s = svd(A);
+%! assert (isequal (s, [abs(x); 5]))
%%!test
%%! % no sing vecs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@sym/times.m
new/symbolic-2.7.1/inst/@sym/times.m
--- old/symbolic-2.7.0/inst/@sym/times.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@sym/times.m 2018-10-02 09:19:21.000000000
+0200
@@ -51,7 +51,7 @@
function z = times(x, y)
- % Dear hacker from the distant future... maybe you can delete this?
+ % XXX: delete this when we drop support for Octave < 4.4.2
if (isa(x, 'symfun') || isa(y, 'symfun'))
warning('OctSymPy:sym:arithmetic:workaround42735', ...
'worked around octave bug #42735')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/@symfun/minus.m
new/symbolic-2.7.1/inst/@symfun/minus.m
--- old/symbolic-2.7.0/inst/@symfun/minus.m 2018-07-13 06:13:19.000000000
+0200
+++ new/symbolic-2.7.1/inst/@symfun/minus.m 2018-10-02 09:19:21.000000000
+0200
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014, 2016 Colin B. Macdonald
+%% Copyright (C) 2014, 2016, 2018 Colin B. Macdonald
%%
%% This file is part of OctSymPy.
%%
@@ -69,11 +69,16 @@
%! assert( isa(f - x, 'symfun'))
%!test
-%! % Octave bug: https://savannah.gnu.org/bugs/?42735
+%! % Octave bug #42735 fixed in 4.4.2
%! syms x
%! f(x) = x^2;
%! g = x^2;
-%! s = warning('off', 'OctSymPy:sym:arithmetic:workaround42735');
+%! if (exist('OCTAVE_VERSION', 'builtin') && ...
+%! compare_versions (OCTAVE_VERSION (), '4.4.2', '<'))
+%! s = warning('off', 'OctSymPy:sym:arithmetic:workaround42735');
+%! else
+%! s = warning();
+%! end
%! h = x - f; assert(isa(h, 'symfun') && isequal(h.sym, x - g))
%! h = x + f; assert(isa(h, 'symfun') && isequal(h.sym, x + g))
%! h = x * f; assert(isa(h, 'symfun') && isequal(h.sym, x * g))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/symbolic-2.7.0/inst/sympref.m
new/symbolic-2.7.1/inst/sympref.m
--- old/symbolic-2.7.0/inst/sympref.m 2018-07-13 06:13:19.000000000 +0200
+++ new/symbolic-2.7.1/inst/sympref.m 2018-10-02 09:19:21.000000000 +0200
@@ -173,7 +173,7 @@
%% @example
%% @group
%% sympref version
-%% @result{} 2.7.0
+%% @result{} 2.7.1
%% @end group
%% @end example
%%
@@ -216,7 +216,7 @@
case 'version'
assert (nargin == 1)
- varargout{1} = '2.7.0';
+ varargout{1} = '2.7.1';
case 'display'
if (nargin == 1)