{"id":160477,"date":"2022-10-19T07:49:41","date_gmt":"2022-10-19T07:49:41","guid":{"rendered":"\/knowledge\/?post_type=topic&#038;p=160477"},"modified":"2022-10-19T13:59:37","modified_gmt":"2022-10-19T13:59:37","slug":"modelcenter-tech-note-unexpected-results-when-linking-a-double-array-to-an-integer-array","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/modelcenter-tech-note-unexpected-results-when-linking-a-double-array-to-an-integer-array\/","title":{"rendered":"ModelCenter Tech Note Unexpected results when linking a double array to an integer array"},"content":{"rendered":"<p>Date: May 30, 2018<\/p>\n<p>Product: Ansys ModelCenter<\/p>\n<p>Severity: High<\/p>\n<p><strong>Introduction: <\/strong>When linking a double array to an integer array, values will be truncated. If the value<br \/>\noverflows, the integer array may be populated with random data.<\/p>\n<p><strong>Issue: <\/strong>The conversion behavior when linking a non-array double to a non-array integer is different<br \/>\nfrom the conversion behavior when linking a double array to an integer array.<br \/>\nIf a non-array double is linked to a non-array integer, the value is rounded. If the value is too large to<br \/>\nfit in the integer, the user will receive an overflow error and the link will be left invalid.<br \/>\nHowever, if a double array is linked to an integer array, the values are truncated. If the value overflows,<br \/>\nthe integer array will be populated with random data.<\/p>\n<p><strong>Impact: <\/strong>If a double array is linked to an integer array, the user may get unexpected results.<br \/>\nResolution: Avoid linking double arrays to integer arrays. If it is necessary to link double arrays to<br \/>\ninteger arrays, use extreme caution and make sure the conversion rules described above are<br \/>\nunderstood.<\/p>\n<p>For more information contact Support at PHX-Support@ansys.com or 800-500-1936 Option 2<\/p>\n","protected":false},"template":"","class_list":["post-160477","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_edit_lock":["1666187978:2"],"_edit_last":["2"],"_bbp_forum_id":["160491"],"_bbp_topic_id":["160477"],"_bbp_author_ip":["23.198.14.134"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["160477"],"_bbp_last_active_time":["2022-10-19 07:49:41"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["0"],"_yoast_wpseo_content_score":["90"],"_yoast_wpseo_estimated-reading-time-minutes":["1"],"_yoast_wpseo_wordproof_timestamp":[""],"_btv_view_count":["1354"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160477\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=160477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}