|
From: | Rik |
Subject: | Re: hgsave weirdness |
Date: | Mon, 23 Sep 2019 10:30:52 -0700 |
On 09/23/2019 09:00 AM,
address@hidden wrote:
I'm not seeing the first problem with hgload. Here is my session ~/wip/Projects_Mine/octave-dev: run-octave --no-gui-libs -f -q octave:1> t2 fname = t2.ofig h2 = 2 error: ASSERT errors for: assert (h1,h2) Location | Observed | Expected | Reason () 1 2 Abs err 1 exceeds tol 0 by 1 I started Octave with -f to make sure there was no user configuration issues that might be a problem. The reason why h1 != h2 is that the original figure was not closed after hgsave. When you do hgload, it would like to use the next available figure handle which can't be '1' in this case so Octave uses '2'. If I add "close (h1)" after hgsave then the script runs with no errors. --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |