1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2016 - Scilab Enterprises - Paul Bignier
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- CLI SHELL MODE -->
13 o = CLOCK_c("define");
17 dClone.props.tol(6) = 2; // COW: effectively cloning d into d2
18 assert_checkequal(dClone.objs(1).model.rpar.objs(3).from, [2 1 0]);
19 assert_checkequal(dClone.objs(1).model.rpar.objs(3).to, [4 1 1]);
21 // Check that all the model items are freed