help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in Octave 8.2.0


From: Markus Mützel
Subject: Re: Bug in Octave 8.2.0
Date: Mon, 3 Jul 2023 13:08:27 +0200

Ian,
 
That looks like a bug to me, too.
Could you please open a report on GNU Octave - Bugs: Submit Item [Savannah]?
 
Markus
 
Gesendet: Montag, 03. Juli 2023 um 12:13 Uhr
Von: "Ian McCallion" <ian.mccallion@gmail.com>
An: help-octave@gnu.org
Betreff: Re: Bug in Octave 8.2.0
The problem seems to be in the first line of fullfile which converts all empty parameters into []
 
On Mon, 3 Jul 2023 at 11:01, Ian McCallion <ian.mccallion@gmail.com> wrote:
fullfile() operates on strings or cells. so:
      fullfile('path', {'a','b'})
produces:
    ans =
    {
      [1,1] = path\a
      [1,2] = path\b
    }
 
However:
    fullfile('path', {})
produces:
    ans = path
 
This is surely a bug??   {} is not the same as ''
 
Cheers... Ian
---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help

reply via email to

[Prev in Thread] Current Thread [Next in Thread]