pitrou commented on code in PR #49290:
URL: https://github.com/apache/arrow/pull/49290#discussion_r3421081239
##########
c_glib/arrow-glib/basic-array.cpp:
##########
@@ -279,7 +279,8 @@ garrow_equal_options_get_property(GObject *object,
g_value_set_boolean(value, priv->options.nans_equal());
break;
case PROP_ABSOLUTE_TOLERANCE:
- g_value_set_double(value, priv->options.atol());
+ g_value_set_double(value,
+ priv->options.atol().has_value() ?
*priv->options.atol() : 0.0);
Review Comment:
@kou Are you ok with these changes to the GLib bindings?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]