|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #61030] [octave forge] (image) Don't use internal function |
Date: | Sun, 22 Aug 2021 08:28:18 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 Edg/92.0.902.78 |
Follow-up Comment #10, bug #61030 (project octave): The attached patch adds a configure check to test if the `dim_vector` class has an `xelem` member function. If it doesn't, it would fall back to the `elem` function (with the additional cost of boundary checking). I haven't tested at all, so it might need some tinkering. If it works, it should define HAVE_OCTAVE_DIM_VECTOR_XELEM if that function exists. I also don't know the coding style of the image package. I hope it is ok. (file #51803) _______________________________________________________ Additional Item Attachment: File name: bug61030-v2.patch Size:6 KB <https://file.savannah.gnu.org/file/bug61030-v2.patch?file_id=51803> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61030> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |