You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eb3a92b
Browse filesBrowse the repository at this point in the historyBrowse files
`igraph_rewire_edges()` uses an `igraph_edge_type_sw_t allowed_edge_types` parameter instead of `loops` and `multiple`.
6
+
7
+
---
8
+
9
+
**Original changelog wording:**
10
+
11
+
> `igraph_rewire_edges()` uses an `igraph_edge_type_sw_t allowed_edge_types` parameter instead of `loops` and `multiple`.
12
+
13
+
---
14
+
15
+
## Proof of work: `git diff --numstat HEAD..next`
16
+
17
+
Before and after the change, side by side (add-before, del-before, add-after, del-after, file):
18
+
19
+
```
20
+
add-b del-b add-a del-a file
21
+
11 0 0 0 changelog/1-nfc/0470-rewire-edges.md
22
+
21 42 20 41 include/igraph_games.h
23
+
13 19 5 13 src/operators/rewire_edges.c
24
+
9 10 9 10 src/games/watts_strogatz.c
25
+
5 4 4 3 tests/unit/coloring.c
26
+
447 440 445 438 interfaces/functions.yaml
27
+
```
28
+
29
+
Notes on remaining differences:
30
+
-`changelog/1-nfc/0470-rewire-edges.md`: Fully ported (0/0 remaining). The proof-of-work section exists only on `main-dev`.
31
+
-`include/igraph_games.h`: Remaining differences (20/41) are unrelated changes (copyright header, `__BEGIN_DECLS`→`IGRAPH_BEGIN_C_DECLS`, other function signature changes from later entries like `igraph_watts_strogatz_game`, `igraph_static_fitness_game`, `igraph_sbm_game`, `igraph_correlated_game`, removed deprecated functions).
-`src/games/watts_strogatz.c`: Unchanged (9/10) because the `igraph_watts_strogatz_game` signature change is a separate entry (0560). The internal call was adapted to convert booleans to `igraph_edge_type_sw_t`.
0 commit comments