Skip to content

Commit 68d7a4c

Browse files
committed
Order of graph component changed
1 parent 419a19e commit 68d7a4c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@ jobs:
2323
python -m pip install --upgrade pip
2424
python -m pip install pytest
2525
# Can comment out when next Mathics core and Mathics-scanner are released
26-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
27-
git clone https://github.com/Mathics3/mathics-core
28-
(cd mathics-core && make)
29-
(cd mathics-core && python -m pip install -e .[full])
30-
# python -m pip install Mathics3[full]
31-
# python -m pip install -e .
26+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
27+
python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
28+
(cd src/mathics3 && bash ./admin-tools/make-op-tables.sh)
3229
- name: install pymathics graph
3330
run: |
3431
make develop

pymathics/graph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
= -Graph-
2222
2323
>> ConnectedComponents[g]
24-
= {{4, 3}, {2}, {1}}
24+
= {{3, 4}, {2}, {1}}
2525
2626
>> WeaklyConnectedComponents[g]
2727
= {{1, 2, 3, 4}}

pymathics/graph/properties.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ class MultigraphQ(_NetworkXBuiltin):
254254
:Multigraph:
255255
https://en.wikipedia.org/wiki/Multigraph</url> test (<url>
256256
:NetworkX:
257-
https://networkx.org/documentation/networkx-2.8.8/reference/classes/multigraph.html</url>, <url>
257+
https://networkx.org/documentation/networkx-2.8.8/reference/classes/multigraph.html</url>, \
258+
<url>
258259
:WMA:
259260
https://reference.wolfram.com/language/ref/MulitGraphQ.html</url>)
260261

0 commit comments

Comments
 (0)