-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Newer versions of numpy resulted in array type cast issues caused by 1) Python treating stiffness/damping matrices as tuples (a syntactical error on my part) and 2) numpy treating elements of arrays, e.g., velocity[1], as 1-D arrays of one element instead of extracting the element as a float. This is remedied by accessing the item using ndarray.item(), e.g., velocity[1].item(). This commit makes these changes, allowing the program to be used with the latest versions of numpy.
- Loading branch information
Showing
3 changed files
with
30 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
cycler==0.10.0 | ||
kiwisolver==1.1.0 | ||
matplotlib==2.2.3 | ||
numpy==1.15.1 | ||
pyparsing==2.4.0 | ||
python-dateutil==2.8.0 | ||
pytz==2019.1 | ||
scipy==1.2.0 | ||
six==1.12.0 | ||
matplotlib | ||
numpy | ||
scipy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters