Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix numpy and matrix version not the latest version issue. #1045
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLeu76 committed Jan 6, 2022
1 parent 0eda999 commit 265c232
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gldcore/scripts/autotest/test_matrix.glm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// check numpy version (must be exactly the same to pass these tests)
#assert $(gridlabd matrix version) == '1.21.4'
#assert $(gridlabd matrix version) == '1.22.0'

// matrix operations test
#assert $(gridlabd matrix -f copy "1,2;3,4") == '1,2;3,4'
Expand Down
2 changes: 1 addition & 1 deletion gldcore/scripts/autotest/test_matrix_linalg.glm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// check numpy version (must be exactly the same to pass these tests)
#assert $(gridlabd matrix version) == '1.21.4'
#assert $(gridlabd matrix version) == '1.22.0'

// linalg.cholesky <matrix>
#assert $(gridlabd matrix -f linalg.cholesky "1,2;-2,5") == '1,0;-2,1'
Expand Down
2 changes: 1 addition & 1 deletion gldcore/scripts/autotest/test_matrix_matlib.glm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#assert $(gridlabd matrix version) == '1.21.4'
#assert $(gridlabd matrix version) == '1.22.0'

// matlib.rand <intlist_args>
#assert ! -z "$(gridlabd matrix -f matlib.rand 1)"
Expand Down
2 changes: 1 addition & 1 deletion gldcore/scripts/autotest/test_matrix_matrix.glm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#assert $(gridlabd matrix version) == '1.21.4'
#assert $(gridlabd matrix version) == '1.22.0'

// matrix.all <matrix> axis=<int>
#assert $(gridlabd matrix -f matrix.all "1,2,3;4,5,6;") == '1'
Expand Down
2 changes: 1 addition & 1 deletion gldcore/scripts/autotest/test_matrix_random.glm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#assert $(gridlabd matrix version) == '1.21.4'
'1.22.0'

// random.choice <arrayorint> size=<intlist> replace=<boolstr> p=<array>
#assert ! -z $(gridlabd matrix -f random.choice "1,2,3,4,5")
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
matplotlib==3.3.3
numpy==1.21.4
numpy>=1.21.4
pytz==2020.4
PyGithub==1.54.1
docker==4.4.4
Expand Down

0 comments on commit 265c232

Please sign in to comment.