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: Sat, 7 Mar 2020 06:27:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

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

When using `out->array=(void *)&(in->dsize[arg_val-1])` it gives a corruption
error. Also using 

out->array = malloc( sizeof unsigned long * );
*(size_t *)t.out->array = in->dsize[arg_val-1];


is showing a corruption too. How to store the dimension in the out->array? Or
should I store it down in some other variable and pass it to out somehow>


    _______________________________________________________

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]