Skip to content

Conversation

@chipbarnaby
Copy link
Contributor

@chipbarnaby chipbarnaby commented Feb 5, 2024

Description

Motivation: improve error checking of user input for znTC, znTD, and znTH. Incomplete error checking resulted in CSE run failures when CBECC generated incorrect input.

In the course of implementing the checking, it was discovered that record member status bytes were not being correctly copied when ZNI was copied to ZNR. (ZNR is an expanded variant of ZNI -- initial members are the same. Thus a "short" copy is used.) As noted in Issue #396, there have long been semi-duplicated functions record::Copy() and record::CopyFrom(). These have now been merged (into record::Copy()) and all uses changed as needed.

Documentation updated. A few test cases updated.

@chipbarnaby chipbarnaby requested a review from nealkruis February 5, 2024 19:24
@nealkruis nealkruis merged commit 4bbe1bd into main Feb 5, 2024
@nealkruis nealkruis deleted the setpoint-error-check branch February 5, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants