Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default settings get type specified for the setting rather than their own type #34

Merged
merged 4 commits into from Nov 24, 2019

Conversation

ngoiz
Copy link
Collaborator

@ngoiz ngoiz commented Nov 22, 2019

Following on from the discussion in #32, default settings now get the value specified in their respective settings_types as opposed to having their own type.

For an unprovided setting with settings_type['current_setting'] = list(float) and settings_default['current_setting'] = [1. , 0., 0.]

Old behaviour would process setting as list. New behaviour will process it as np.array (as are all user-defined settings that are given the type list(float)).

Fixes #33 as well, no need for the revert.

All tests passed 馃憤

Copy link
Collaborator

@fonsocarre fonsocarre left a comment

Choose a reason for hiding this comment

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

Thanks for fixing and for the extra documentation on PreSharpy!

@fonsocarre fonsocarre merged commit 7174829 into rc-1.0.2 Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants