Comments (6)
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.
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.
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.
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.
Problem solved with #82
from at.
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)
- python windows version installation HOT 5
- synoptics not visible in atplot when vertical values are above zero HOT 1
- pyat shift_elem ignores R1,R2 and the effect of bending angles HOT 5
- pyAT Distinguish between a sector bending magnet and a rectangular bending magnet HOT 2
- Reduce behaves differently in Matlab and python
- B0 added twice in exactkickrad HOT 2
- python: ringparam not well identified by lattice_load HOT 6
- bug is saving lattice HOT 4
- Bug: atwiggler HOT 13
- problem with display of correctly initialised VariableMultipole element HOT 1
- Change Legend Labels for plot_trajectory() function HOT 12
- fast_ring when having harmonic cavities in the lattice HOT 4
- AT_2_Elegant uses deprecated N_KICKS
- Factor 4 missing in Touschek scattering B2 expression HOT 5
- pyAT Error when calculating damping ring HOT 3
- Rotation of dipoles HOT 18
- matlab atlinopt4 check on 6d is disabled
- Severe bug introduced by #766 HOT 2
- Bug in Lattice.avlinopt HOT 7
- ring.get_lifetime fails if list of reference indexes has only one valid element HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from at.