JWock82 / Pynite

A 3D structural engineering finite element library for Python.
MIT License
454 stars 93 forks source link

Replace numpy.matrix with numpy.array #147

Closed connorferster closed 1 year ago

connorferster commented 1 year ago

In answer to #146, this PR replaces a handful of instances of numpy.matrix with numpy.array where they appear in Member3D.py and Plate3D.py. Also changed one * operator to @ now that matrix multiplication is no longer assumed.

JWock82 commented 1 year ago

Great! I've been slowly cleaning those instances up as I go. A few years ago numpy said they were deprecating "Matrix" and I just haven't gotten around to cleaning up all the instances - lazy I know.