We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6915ca + 80448f2 commit 3e82e69Copy full SHA for 3e82e69
tests/hwloc/hwloc_type_sscanf.c
@@ -44,7 +44,7 @@ static void _check(hwloc_topology_t topology, hwloc_obj_t obj, const char *buffe
44
}
45
46
depth = hwloc_get_type_depth_with_attr(topology, type, &attr, sizeof(attr));
47
- assert(depth == (int) obj->depth);
+ assert((depth == HWLOC_TYPE_DEPTH_MULTIPLE && !checkattrs) || depth == (int) obj->depth);
48
49
50
static void check(hwloc_topology_t topology, hwloc_obj_t obj)
0 commit comments