You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subset and merge for VarInfo (clean version) (#544)
* added `subset` which can extract a subset of the varinfo
* added testing of `subset` for `VarInfo`
* formatting
* added implementation of `merge` for `VarInfo` and tests for it
* more tests
* formatting
* improved merge_metadata for NamedTuple inputs
* added proper handling of the `vals` in `subset`
* added docs for `subset` and `merge`
* added `subset` and `merge` to documentation
* formatting
* made merge and subset part of the AbstractVarInfo interface
* added implementations `subset` and `merge` for `SimpleVarInfo`
* follow standard merge semantics where the right one takes precedence
* added proper testing of merge and subset for SimpleVarInfo too
* forgotten inclusion in previous commit
* Update src/simple_varinfo.jl
Co-authored-by: David Widmann <[email protected]>
* remove two-argument impl of merge
* formatting
* forgot to add more formatting
* removed 2-arg version of merge for abstract varinfo in favour of 3-arg version
* allow inclusion of threadsafe varinfo in setup_varinfos
* more tests for thread safe varinfo
* bugfixes for link and invlink methods when using thread safe varinfo
* attempt at fixing docs
* fixed missing test coverage
* formatting
---------
Co-authored-by: David Widmann <[email protected]>
0 commit comments