octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46747] netcdf package bug - DeflateLevel prop


From: Paolo Olivo
Subject: [Octave-bug-tracker] [bug #46747] netcdf package bug - DeflateLevel property not working on nccreate
Date: Tue, 22 Dec 2015 10:35:20 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?46747>

                 Summary: netcdf package bug - DeflateLevel property not
working on nccreate
                 Project: GNU Octave
            Submitted by: paoloo
            Submitted on: mar 22 dic 2015 10:35:19 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I've found a bug in the netcdf package.
Command ncreate doesn't work when called with DeflateLevel property, rising an
error on nccreate at line 76.
The problem is caused by a typo on file nccreate.m - lines 76 and 77.

Changing:

elseif strcmp(vargin{i},'DeflateLevel')
    DeflateLevel = vargin{i+1};

with:

elseif strcmp(varargin{i},'DeflateLevel')
    DeflateLevel = varargin{i+1};

solves the problem.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46747>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

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