Skip to content

Commit

Permalink
update v0.3.0 --> v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
avgcampos committed Jun 17, 2024
1 parent d3e1488 commit b02efd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions myfempy/core/shapes/quad4_tasks.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ def detJacobi(double [:] r_coord, double [:, :] element_coord):
@cython.wraparound(False) # turn off negative index wrapping for entire function
@cython.nonecheck(False)
def NodeList(int [:, :] inci, int element_number):
cdef int noi = int(inci[element_number, 4])
cdef int noj = int(inci[element_number, 5])
cdef int nok = int(inci[element_number, 6])
cdef int nol = int(inci[element_number, 7])
cdef int noi = inci[element_number, 4]
cdef int noj = inci[element_number, 5]
cdef int nok = inci[element_number, 6]
cdef int nol = inci[element_number, 7]
cdef int [:] node_list = np.array([noi, noj, nok, nol])
return node_list

Expand Down
2 changes: 1 addition & 1 deletion setup_wrap_cy_pyx.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# >> python setup_cython_wrap.py build_ext --inplace
# >> python setup_wrap_cy_pyx.py build_ext --inplace

from setuptools import Extension, setup
from setuptools.command.build_ext import build_ext as _build_ext
Expand Down

0 comments on commit b02efd9

Please sign in to comment.