Giter VIP home page Giter VIP logo

Comments (3)

lileicc avatar lileicc commented on August 14, 2024

Interesting. Thanks for discovery.
This is certainly a bug.

Lei

On Thu, May 22, 2014 at 6:31 PM, Christopher Gioia <[email protected]

wrote:

@cberzan https://github.com/cberzan @lileicchttps://github.com/lileicc

Not sure if this is an issue or if it has been reposted.

fixed RealMatrix a = [1.0; 2.0, 3.0];
query a;

Strips out the 3.0. Returns [1.0; 2.0]

fixed RealMatrix b = [1.0, 2.0; 3.0];
query b;

Throws error complaining matrix rows have unequal length.


Reply to this email directly or view it on GitHubhttps://github.com//issues/119
.

from blog.

chrisgioia64 avatar chrisgioia64 commented on August 14, 2024

@lileicc
In both cases, there is a fatal error being thrown saying "Matrix rows have unequal length". I'm not sure what you are going to do with Util.fatalError (seems you were originally going to throw an exception but you commented it out) so I won't make any changes.
In the second case, there is an unhandled IndexOutOfBoundsException since the program thinks b is a 2-2 matrix with an entry at b[2,2] which terminates execution.

from blog.

cberzan avatar cberzan commented on August 14, 2024

These errors are caught and reported as "Matrix rows have unequal length." in recent master.

from blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.