Git Product home page Git Product logo

Comments (9)

jaymurthy avatar jaymurthy commented on July 19, 2024

I think it is something to do with line 458 in mrdfits.pro where it calls
match, keyword, scales_names, mkey_scales, mscales, count = N_mscales
The problem is because there are no matches (no TSCALnn) in the header.

from gdl.

jaymurthy avatar jaymurthy commented on July 19, 2024

The problem is because scales = ptrarr(n_mforms, /all) (line ~446 in mrdfits.pro) gives
print,scales

(NullPointer)(NullPointer)

This is what it should be (in gdl 1.0.3 and in fl)
FL> print,scales
(PtrHeapVar1)(PtrHeapVar2)

The nullpointer causes it to break. Note that I replaced < with ( above to get it to show up.

from gdl.

alaingdl avatar alaingdl commented on July 19, 2024

OK, thanks you @jaymurthy I can reproduce your bug 😿

now we will try to solved it

from gdl.

alaingdl avatar alaingdl commented on July 19, 2024

OK, the problem appeared between April 25 and 26, when I try to clean up the keywords (by name/by number)

from gdl.

alaingdl avatar alaingdl commented on July 19, 2024

OK, I think I got it. In fact PTRARR() has one and only one keyword ... "ALLOCATE_HEAP"

from gdl.

alaingdl avatar alaingdl commented on July 19, 2024

OK @jaymurthy , I solved it, I have the feeling we had a pending bug in the past ...
My problem now is to do a clean PR !

from gdl.

jaymurthy avatar jaymurthy commented on July 19, 2024

Great work, Alain.

from gdl.

alaingdl avatar alaingdl commented on July 19, 2024

The bug should be solved in #1838

In fact, it is related to my changes within keywords by index / keyword by name.
I created a bug in PTRARR() function. But the initial code did not work in detail as it should.
Fortunately we had a test covering the other side effect.

Nevertheless we need to add more tests related to PTRARR() to cover the problem reported here

from gdl.

alaingdl avatar alaingdl commented on July 19, 2024

Again thanks @jaymurthy for rapid feedback and clear bug report. I can go quickly to the culprit.

from gdl.

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.