Skip to content

Commit 038bb6c

Browse files
committed
Skip test on old octave for formatting changes
See also `heaviside.m`.
1 parent 8d724ae commit 038bb6c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

inst/@double/bernoulli.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
%% Note there are two conventions in the literature about the sign of B_1:
3636
%% @example
3737
%% @group
38+
%% @c Would render with an extra zero on earlier Octave
39+
%% @c doctest: +SKIP_IF(compare_versions (OCTAVE_VERSION(), '6.0.0', '<'))
3840
%% abs (bernoulli (1))
3941
%% @result{} 0.5000
4042
%% @end group

inst/heaviside.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%% Copyright (C) 2006 Sylvain Pelissier <[email protected]>
2-
%% Copyright (C) 2015-2016 Colin B. Macdonald <[email protected]>
2+
%% Copyright (C) 2015-2016, 2019, 2022 Colin B. Macdonald <[email protected]>
33
%%
44
%% This program is free software; you can redistribute it and/or modify it under
55
%% the terms of the GNU General Public License as published by the Free Software
@@ -35,6 +35,7 @@
3535
%% function returns 0.5 by default:
3636
%% @example
3737
%% @group
38+
%% @c Would render with an extra zero on earlier Octave
3839
%% @c doctest: +SKIP_IF(compare_versions (OCTAVE_VERSION(), '6.0.0', '<'))
3940
%% heaviside(0)
4041
%% @result{} 0.5000

0 commit comments

Comments
 (0)