File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
-100) AS tp) AS q;
31
31
to_char | to_char | to_char | to_char | to_char | to_char
32
32
-----------------+-----------------+----------+----------+------------+----------
33
- 269.4744079540 | 4.4055337210 | .000 | -801.210 | 10361.762 | -###.###
33
+ 269.4744079540 | 4.4055337210 | .000 | -801.210 | 10361.762 | -110.000
34
34
(1 row)
35
35
36
36
SELECT
Original file line number Diff line number Diff line change @@ -177,11 +177,11 @@ epoch_prop(PG_FUNCTION_ARGS) {
177
177
178
178
propagate_phasevec (& input , delta_t , & output );
179
179
180
- /* If we have a null parallax but a good RV, preserve the original,
180
+ /* If we have an invalid parallax but a good RV, preserve the original,
181
181
untransformed RV on output. See
182
182
https://github.com/ivoa-std/udf-catalogue/pull/20#issuecomment-2115053757
183
183
for the rationale. */
184
- if (!PG_ARGISNULL (4 ) && PG_ARGISNULL ( 1 ) ) {
184
+ if (!PG_ARGISNULL (4 ) && ! input . parallax_valid ) {
185
185
output_null [5 ] = 0 ;
186
186
output .rv = input .rv ;
187
187
}
You can’t perform that action at this time.
0 commit comments