@@ -612,7 +612,7 @@ static gboolean _topology_checkGraphAttributes(Topology* top) {
612612 if (_topology_isValidEdgeAttributeKey (name , EDGE_ATTR_LATENCY )) {
613613 isSuccess = isSuccess && _topology_checkAttributeType (name , type , IGRAPH_ATTRIBUTE_STRING );
614614 } else if (_topology_isValidEdgeAttributeKey (name , EDGE_ATTR_JITTER )) {
615- isSuccess = isSuccess && _topology_checkAttributeType (name , type , IGRAPH_ATTRIBUTE_NUMERIC );
615+ isSuccess = isSuccess && _topology_checkAttributeType (name , type , IGRAPH_ATTRIBUTE_STRING );
616616 } else if (_topology_isValidEdgeAttributeKey (name , EDGE_ATTR_PACKETLOSS )) {
617617 isSuccess = isSuccess && _topology_checkAttributeType (name , type , IGRAPH_ATTRIBUTE_NUMERIC );
618618 } else if (_topology_isValidEdgeAttributeKey (name , EDGE_ATTR_LABEL )) {
@@ -957,7 +957,7 @@ static gboolean _topology_checkGraphEdgesHelperHook(Topology* top, igraph_intege
957957 const gchar * jitterKey = _topology_edgeAttributeToString (EDGE_ATTR_JITTER );
958958 gdouble jitterValue ;
959959 if (igraph_cattribute_has_attr (& top -> graph , IGRAPH_ATTRIBUTE_EDGE , jitterKey ) &&
960- _topology_findEdgeAttributeDouble (top , edgeIndex , EDGE_ATTR_JITTER , & jitterValue )) {
960+ _topology_findEdgeAttributeStringTimeMs (top , edgeIndex , EDGE_ATTR_JITTER , & jitterValue )) {
961961
962962 if (jitterValue >= 0.0f ) {
963963 g_string_append_printf (message , " %s='%f'" , jitterKey , jitterValue );
0 commit comments