@@ -115,19 +115,19 @@ class flat_incidence_matrix<hgl::undirected_t, ImplTag> final {
115115
116116 gl_attr_force_inline void bind (const id_type vertex_id, const id_type hyperedge_id) noexcept {
117117 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
118- this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] = true ;
118+ this ->_matrix [to_idx (major_id), to_idx (minor_id)] = true ;
119119 }
120120
121121 gl_attr_force_inline void unbind (const id_type vertex_id, const id_type hyperedge_id) noexcept {
122122 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
123- this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] = false ;
123+ this ->_matrix [to_idx (major_id), to_idx (minor_id)] = false ;
124124 }
125125
126126 [[nodiscard]] gl_attr_force_inline bool are_bound (
127127 const id_type vertex_id, const id_type hyperedge_id
128128 ) const noexcept {
129129 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
130- return this ->_matrix [to_idx (major_id)][ to_idx (minor_id)];
130+ return this ->_matrix [to_idx (major_id), to_idx (minor_id)];
131131 }
132132
133133 // --- comparison ---
@@ -353,40 +353,40 @@ class flat_incidence_matrix<hgl::bf_directed_t, ImplTag> final {
353353 const id_type vertex_id, const id_type hyperedge_id
354354 ) noexcept {
355355 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
356- this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] = bf_incidence::backward;
356+ this ->_matrix [to_idx (major_id), to_idx (minor_id)] = bf_incidence::backward;
357357 }
358358
359359 gl_attr_force_inline void bind_head (
360360 const id_type vertex_id, const id_type hyperedge_id
361361 ) noexcept {
362362 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
363- this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] = bf_incidence::forward;
363+ this ->_matrix [to_idx (major_id), to_idx (minor_id)] = bf_incidence::forward;
364364 }
365365
366366 gl_attr_force_inline void unbind (const id_type vertex_id, const id_type hyperedge_id) noexcept {
367367 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
368- this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] = bf_incidence::none;
368+ this ->_matrix [to_idx (major_id), to_idx (minor_id)] = bf_incidence::none;
369369 }
370370
371371 [[nodiscard]] gl_attr_force_inline bool are_bound (
372372 const id_type vertex_id, const id_type hyperedge_id
373373 ) const noexcept {
374374 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
375- return this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] != bf_incidence::none;
375+ return this ->_matrix [to_idx (major_id), to_idx (minor_id)] != bf_incidence::none;
376376 }
377377
378378 [[nodiscard]] gl_attr_force_inline bool is_tail (
379379 const id_type vertex_id, const id_type hyperedge_id
380380 ) const noexcept {
381381 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
382- return this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] == bf_incidence::backward;
382+ return this ->_matrix [to_idx (major_id), to_idx (minor_id)] == bf_incidence::backward;
383383 }
384384
385385 [[nodiscard]] gl_attr_force_inline bool is_head (
386386 const id_type vertex_id, const id_type hyperedge_id
387387 ) const noexcept {
388388 const auto [major_id, minor_id] = layout_tag::majmin (vertex_id, hyperedge_id);
389- return this ->_matrix [to_idx (major_id)][ to_idx (minor_id)] == bf_incidence::forward;
389+ return this ->_matrix [to_idx (major_id), to_idx (minor_id)] == bf_incidence::forward;
390390 }
391391
392392 // --- comparison ---
0 commit comments