Skip to content

Commit

Permalink
Merge pull request #110 from piotrbartman/prb/bump
Browse files Browse the repository at this point in the history
bump dependencies
  • Loading branch information
piotrbartman authored Jul 20, 2023
2 parents 5df0da6 + 1ccc7ce commit 09fca3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions conmech/solvers/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class Calculator:
def minimize(
function: Callable[[np.ndarray], np.ndarray], initial_vector: np.ndarray
) -> np.ndarray:
if initial_vector.ndim != 1:
initial_vector = initial_vector.T[0]
return scipy.optimize.minimize(
function,
initial_vector,
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
numpy==1.24.3
numba==0.57.0
numpy==1.24.4
numba==0.57.1
jupyter==1.0.0
matplotlib==3.7.1
matplotlib==3.7.2
scipy==1.10.1
pytest==7.3.1
pytest==7.4.0
meshzoo==0.9.11
pygmsh==7.1.17
gmsh==4.11.1
tqdm==4.65.0
networkx==3.1
scikit-learn>=1.0.2
scikit-learn==1.3.0
seaborn==0.12.2

dmsh @ git+https://github.com/KOS-UJ/dmsh@main

0 comments on commit 09fca3e

Please sign in to comment.