Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

std::function<double()> as alternative to double*#37

Merged
olupton merged 2 commits into
masterfrom
olupton/generic-handles
Apr 28, 2023
Merged

std::function<double()> as alternative to double*#37
olupton merged 2 commits into
masterfrom
olupton/generic-handles

Conversation

@olupton

@olupton olupton commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

Support recording values that are obtained using generic handles (= things that can be dereferenced to yield a double value), instead of only supporting the special case that these handles are raw pointers.
This is needed for compatibility with neuronsimulator/nrn#2027.

@olupton olupton force-pushed the olupton/generic-handles branch 3 times, most recently from cd5c174 to 034108f Compare January 23, 2023 13:40
@olupton olupton force-pushed the olupton/generic-handles branch from 034108f to ede01d9 Compare March 24, 2023 08:11
@olupton olupton marked this pull request as ready for review April 27, 2023 09:30
@jorblancoa

Copy link
Copy Markdown
Collaborator

I added a unit test, but other than that LGTM!

@pramodk pramodk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@olupton

olupton commented Apr 28, 2023

Copy link
Copy Markdown
Contributor Author

Looks like the CI might need to be bumped past ubuntu 18.04

@olupton olupton force-pushed the olupton/generic-handles branch from 48b3526 to 8fbde2c Compare April 28, 2023 14:19
@olupton olupton merged commit b95d1c8 into master Apr 28, 2023
@olupton olupton deleted the olupton/generic-handles branch April 28, 2023 14:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants