|
From: | Rik |
Subject: | New warning ID "Octave:charmat-truncated" |
Date: | Mon, 14 Sep 2020 14:45:53 -0700 |
While fixing bug #49536, I added a new warning ID to Octave. The
documentation is: 'Octave:charmat-truncated' If the 'Octave:charmat-truncated' warning is enabled, a warning is printed when a character matrix with multiple rows is converted to a string. In this case, the Octave interpreter keeps only the first row and discards the others. By default, the 'Octave:charmat-truncated' warning is enabled. A situation where this might happen is the following charmat = ["ab"; "cd"; "ef"]; strcmp ({charmat}, "cd") I ran 'make check' and everything passes, but if you find in running your own code that you are getting this warning emitted from core Octave functions then please file a bug report. It is almost always something we would prefer to fix rather than have strange, non-inuitive behavior. --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |