Skip to content

Commit 7ba82f3

Browse files
committed
updating workflows
1 parent d4bc5fc commit 7ba82f3

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,32 @@ jobs:
1717
docs:
1818
name: Documentation
1919
runs-on: ubuntu-latest
20+
container:
21+
image: cupy/cupy:v13.4.0
22+
2023
steps:
2124
- uses: actions/checkout@v3
2225

23-
- name: Set up Python
24-
uses: actions/setup-python@v3
25-
with:
26-
python-version: 3.12.0
27-
28-
- name: Set up Python environment
26+
- name: Set up git
27+
run: apt-get update && apt-get install git -y
28+
29+
- name: Install system dependencies
2930
run: |
30-
python -m venv venv
31-
source venv/bin/activate
31+
apt-get update && apt-get install -y python3-venv python3-pip
3232
33-
- name: Install dependencies
33+
- name: Install additional dependencies
3434
run: |
35+
python3 -m venv venv
3536
source venv/bin/activate
3637
python -m pip install .
38+
shell: bash -e {0}
3739

3840
- name: Generate documentation
3941
run: |
4042
source venv/bin/activate
4143
cd docs
4244
make html
45+
shell: bash -e {0}
4346

4447
- name: Deploy
4548
if: success()

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fonttools==4.56.0
1717
idna==3.10
1818
imagesize==1.4.1
1919
iniconfig==2.0.0
20-
ipython==9.0.1
20+
ipython==8.33.0
2121
ipython_pygments_lexers==1.1.1
2222
jedi==0.19.2
2323
Jinja2==3.1.5
@@ -46,6 +46,7 @@ pytest==8.3.4
4646
python-dateutil==2.9.0.post0
4747
PyYAML==6.0.2
4848
requests==2.32.3
49+
roman-numerals-py==3.1.0
4950
scipy==1.15.2
5051
setuptools==75.8.0
5152
six==1.17.0

src/pyclassify/eigenvalues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def eigenvalues_cp(A):
8080
This function checks if the input matrix is square and symmetric, then computes its eigenvalues using
8181
CuPy's sparse linear algebra solvers. It uses `eigsh` for more efficient computation.
8282
Remark that the eigsh function in this case does not allow to compute *all* the eigenvalues, but only a number
83-
$m<n$, so here just a reduced portion is computed (starting form the ones which are greater in magnitude).
83+
m<n, so here just a reduced portion is computed (starting form the ones which are greater in magnitude).
8484
8585
Args:
8686
A (cpsp.spmatrix): A square sparse matrix whose eigenvalues are to be computed.

0 commit comments

Comments
 (0)