gnuastro-devel
[Top][All Lists]
Advanced

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

[task #15109] Size of dataset as an Arithmetic operator


From: Sachin Kumar Singh
Subject: [task #15109] Size of dataset as an Arithmetic operator
Date: Wed, 4 Mar 2020 02:42:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

Follow-up Comment #7, task #15109 (project gnuastro):

For the second argument(the required dimension, let it be called `arg`), I've
used `gal_data_t' as well. To use this value, I've used its arg->array,
because on inspection it showed a size to be 1, which is desired. But I'm
aware it is a void pointer and on dereferencing with a long typecast is
showing a large random number. How to fix this? how can I get the value of the
second operator?

Also on testing with `during-dev.sh`, it is reported that the `size` is not a
valid operator. But the printf debugger works fine and shows all dimensions
correctly. I've pushed the repo on
GitHub:[https://github.com/sachinkumarsingh092/gnuastro/tree/task-arithop-size]

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15109>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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