// cloning ctor private RegressionTreeModel(RegressionTreeModel original, Cloner cloner) : base(original, cloner) { if (original.tree != null) { this.tree = new TreeNode[original.tree.Length]; Array.Copy(original.tree, this.tree, this.tree.Length); } }
// cloning ctor private RegressionTreeModel(RegressionTreeModel original, Cloner cloner) : base(original, cloner) { if (original.tree != null) { this.tree = new TreeNode[original.tree.Length]; Array.Copy(original.tree, this.tree, this.tree.Length); } }