Skip to content
Snippets Groups Projects
Verified Commit 4cc94684 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Add further Octave 6 test for intersect(…, 'stable')

Forgotten in c160d240.

[skip ci]
parent 7a966a30
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ if max(abs(sum(oo_.variance_decomposition,2)-100))>2 ...@@ -114,7 +114,7 @@ if max(abs(sum(oo_.variance_decomposition,2)-100))>2
error(['Variance decomposition at order ',num2str(options_.order),' does not work']) error(['Variance decomposition at order ',num2str(options_.order),' does not work'])
end end
if isoctave if isoctave && octave_ver_less_than('6')
[observable_pos,index_observables,index_subset]=intersect_stable(SubsetOfVariables,options_.varobs_id); [observable_pos,index_observables,index_subset]=intersect_stable(SubsetOfVariables,options_.varobs_id);
else else
[observable_pos,index_observables,index_subset]=intersect(SubsetOfVariables,options_.varobs_id,'stable'); [observable_pos,index_observables,index_subset]=intersect(SubsetOfVariables,options_.varobs_id,'stable');
......
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