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

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

[Octave-bug-tracker] [bug #50157] fwrite input argument type


From: Guillaume
Subject: [Octave-bug-tracker] [bug #50157] fwrite input argument type
Date: Thu, 26 Jan 2017 16:09:42 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

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

                 Summary: fwrite input argument type
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Thu 26 Jan 2017 04:09:40 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running the follwing with current tip:


fid = fopen ('file.dat', 'wb')
fwrite (fid, int32(1), 'int32')


returns:


error: octave_base_value::write(): wrong type argument 'int32 scalar


fwrite returns 1 as expected if second argument is double, or with 4.2.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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