Skip to content
Snippets Groups Projects
Verified Commit 65ea12c7 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Revert #c8901abc and fix duplicate test condition.

parent a2c7888d
No related branches found
No related tags found
No related merge requests found
Pipeline #9873 passed
......@@ -27,7 +27,7 @@ function [q, io] = setdiff(o, p)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
if ~isa(o, 'dates')
if ~isa(o, 'dates') || ~isa(p, 'dates')
error('dates:setdiff', 'All input arguments must be dates objects.')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment