Subroutine cp_struct_field_vector_integer in mex_utils.f90 not fixed
The subroutine cp_struct_field_vector_integer in mex_utils.f90 has not been fixed. Still not calling the right subroutine (cp_struct_field_vector_real)
subroutine cp_struct_field_vector_integer(struct_pr, fieldname, out_val, n, struct_idx)
mwPointer, intent(in) :: struct_pr
character(len=*), intent(in) :: fieldname
mwSize, intent(in) :: n
integer, dimension(n), intent(out) :: out_val
mwIndex, intent(in), optional :: struct_idx
real(kind=dp), dimension(n) :: tmp
call cp_struct_field_matrix_real(struct_pr, fieldname, tmp, n, struct_idx)
out_val = int(tmp)
end subroutine