Code Monkey home page Code Monkey logo

Comments (6)

T-Nicholls avatar T-Nicholls commented on July 20, 2024

Of the 12 errors that we get 10 can be resolved by reverting commit f8e44f4.
In atmat/atphysics/ParameterSummaryFunctions/atlinopt.m:

-  JUMPS = diff([0;P]) < -1.e-3;
+  JUMPS = [0; diff(P)] < -1.e-3;

from at.

lfarv avatar lfarv commented on July 20, 2024

I am using Matlab 2016a or Matlab 2018a on MacOS 10.14. I created a new working directory, I tried running on several lattices, with various refpoints, I could not reproduce you problem… Finally I tried Matlab 2016a on debian8, and now I got it ! This looks very strange, I'm looking at that right now !

from at.

lfarv avatar lfarv commented on July 20, 2024

It turns out that matlab behaves differently with empty matrices. On macOS it can add empty matrices with different sizes ( 0X1, 0x0, 1x0 for instance) while it fails on linux. I pushed a fix on #82. Can you test it?

from at.

T-Nicholls avatar T-Nicholls commented on July 20, 2024

Interesting, I would not have expected such a difference between the same Matlab version on different platforms. #82 fixes all 12 of the failed tests, and everything behaves as expected now.

from at.

lfarv avatar lfarv commented on July 20, 2024

Problem solved with #82

from at.

willrogers avatar willrogers commented on July 20, 2024

Just to note that pyat is now helping to catch potential Matlab AT bugs. I think this is a good thing!

from at.

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.