Skip to content

Commit 528ecc7

Browse files
authored
fix missing is_quad specification (ansys#313)
* fix missing is_quad specification * simply pass false
1 parent 7ac9e3b commit 528ecc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyansys/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# major, minor, patch
2-
version_info = 0, 44, 17
2+
version_info = 0, 44, 18
33

44
# Nice string for the version
55
__version__ = '.'.join(map(str, version_info))

pyansys/cython/vtk_support.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ int ans_to_vtk(const int nelem, const int *elem, const int *elem_off,
480480
/* printf("nnode_elem %d: \n", nnode_elem); */
481481
if (nnode_elem == 3){
482482
/* printf(" subtype tri\n"); */
483-
add_tri(build_offset, &elem[off], is_quad);
483+
add_tri(build_offset, &elem[off], false);
484484
} else if (elem[off + 2] == elem[off + 3]){
485485
/* printf(" subtype tri\n"); */
486486
is_quad = nnode_elem > 4;

0 commit comments

Comments
 (0)