[Top][All Lists]

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

[task #14639] Table arithmetic operator to find rows within given region

From: Sachin Kumar Singh
Subject: [task #14639] Table arithmetic operator to find rows within given region
Date: Fri, 8 May 2020 18:13:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #15, task #14639 (project gnuastro):

Pushed new changes here
As the ID column was required to be stored in the output, I made use of a
third column. Then used a temporary array as the number of rows would be
unknown until they are passed through `gal_polygon_is_inside`. Printing the
values of column showed the right output.

The only problem is that if I use the `outsize` as the size in allocation, it
conflicts with the `mask` in `table_selection` in size. If I use
`p->table->dsize` the value is too large to be allocated. The error was there
before I decided to use a third column so it is a cause if it. Where is the
size going wrong?

Also, this is just a temporary commit fo review. I'll remove it in rebase and
hence have not properly followed all the convection. Please ignore any stray
whitespace or indentation. I'll fix it before rebasing:)


Reply to this item at:


  Message sent via Savannah

reply via email to

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