Skip to content

Commit

Permalink
Updating cupsoda.py to use to_numpy() due to .as_matrix() being depre…
Browse files Browse the repository at this point in the history
…cated. based on @glucksfall suggestion #514 (#523)
  • Loading branch information
JamesPino committed Dec 17, 2020
1 parent aa32fa6 commit 38d96d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysb/simulator/cupsoda.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def _test_pandas(self, filename):
@staticmethod
def _load_with_pandas(filename):
data = pd.read_csv(filename, sep='\t', skiprows=None,
header=None).as_matrix()
header=None).to_numpy()
return data

@staticmethod
Expand Down

0 comments on commit 38d96d4

Please sign in to comment.