|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should |
Date: | Sun, 16 May 2021 17:25:31 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 |
Follow-up Comment #6, bug #60531 (project octave): I think your patch is fine and should resolve the issue. I also think it's a pretty poor compiler that can't match the constant '0' to octave_idx_type (which is either int32 or int64). Because performance isn't an issue, I would have put the static_cast in to the for loop rather than declaring a new variable because I think that makes the code clearer. But, it's not a big deal. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60531> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |