[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
<https://github.com/sachinkumarsingh092/gnuastro/tree/task-table-inpolygon>.
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:
<https://savannah.gnu.org/task/?14639>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [task #14639] Table arithmetic operator to find rows within given region, Sachin Kumar Singh, 2020/05/07
- [task #14639] Table arithmetic operator to find rows within given region, Mohammad Akhlaghi, 2020/05/07
- [task #14639] Table arithmetic operator to find rows within given region,
Sachin Kumar Singh <=
- [task #14639] Table arithmetic operator to find rows within given region, Mohammad Akhlaghi, 2020/05/08
- [task #14639] Select rows that are within a given polygon, Mohammad Akhlaghi, 2020/05/09
- [task #14639] Select rows that are within a given polygon, Mohammad Akhlaghi, 2020/05/09
- [task #14639] Select rows that are within a given polygon, Sachin Kumar Singh, 2020/05/10
- [task #14639] Select rows that are within a given polygon, Mohammad Akhlaghi, 2020/05/10