Browse code

copy the bounds in reconstructed learner

Bas Nijholt authored on 07/11/2017 17:24:34
Showing 1 changed files
... ...
@@ -740,7 +740,7 @@
740 740
    "metadata": {},
741 741
    "outputs": [],
742 742
    "source": [
743
-    "reconstructed_learner = adaptive.Learner1D(f, bounds=(-1, 1))\n",
743
+    "reconstructed_learner = adaptive.Learner1D(f, bounds=learner.bounds)\n",
744 744
     "adaptive.runner.replay_log(reconstructed_learner, runner.log)"
745 745
    ]
746 746
   },