trick/trick_source
Thadeus Fleming db07582616 Only left-shift FieldDescription::io when io_found == true
The `io` field of `FieldDescription` takes a default value of 15. In
`FieldDescription::parseComment`, it may be updated as specified in the comment
text. There are 4 possible cases:

1) Neither IO attributes nor checkpoint IO attributes are found in the comment
2) IO attributes are found in the comment, but checkpoint IO attributes are not
3) Checkpoint IO attributes are found in the comment, but IO attributes are not
4) Both IO attributes and checkpoint IO attributes are found in the comment

In case 2, the IO attributes are copied into the checkpoint IO attributes by the
statement `io |= (io << 2)`. However, this also erroneously runs in case 1,
causing the default value of 15 to change to 63.

By testing `io_found == true`, this logic occurs only in case 2.

Fixes #568
2018-03-27 09:37:26 -05:00
..
codegen/Interface_Code_Gen Only left-shift FieldDescription::io when io_found == true 2018-03-27 09:37:26 -05:00
data_products Revert "Merge pull request #533 from nasa/MakefileCleanup" 2018-03-02 08:59:26 -06:00
er7_utils Merge in the er7_utils integrators 2016-02-11 14:13:25 -06:00
java #521 preparation for java 10 support for xmls annotation and improved safety of file separator call 2018-03-21 08:27:11 -05:00
sim_services #506 added additional check on run directory to prevent creation as defaul… (#566) 2018-03-14 15:18:37 -05:00
trick_swig Revert "Merge pull request #533 from nasa/MakefileCleanup" 2018-03-02 08:59:26 -06:00
trick_utils Don't suppress errno 2018-03-20 15:21:13 -05:00
.gitignore Merge in the er7_utils integrators 2016-02-10 09:32:53 -06:00