ESCOMP / ESCOMP/CAM-SIMA

Need a way to initialize protected data from registry

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
9
Forks
22
Avg merge
8d 5h
Merged PRs (30d)
4

Description

We would like to have registry variables protected to keep them from accidentally being modified. However, this currently prevents them from being initialized after they are allocated if they are not assigned an initial value.

- One solution is to provide an allocation routine for each variable which does not have an initiali value.
- This routine may be called once (error if called a second time).
- If the function takes the variable's values as an input, this could require an extra copy (once to collect the data and a second to copy it into the registry variable). I do not see an easy workaround for that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.