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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert booster attribute to value before applying #1282

Merged
merged 1 commit into from Sep 18, 2017
Merged

Convert booster attribute to value before applying #1282

merged 1 commit into from Sep 18, 2017

Conversation

ghost
Copy link

@ghost ghost commented Sep 14, 2017

Changes to boostermissilevelocitypenalty.py:
Get booster attribute value using booster.getModifiedItemAttr()
before attempting to apply it to avoid type error


#1280

Previously we were not getting the booster attribute value and were instead attempting to apply to the attribute name as the value, which was causing a type error.

I have built and tested this fix on Windows 7 but don't have access to test on any other platforms.

Changes to boostermissilevelocitypenalty.py:
Get booster attribute value using booster.getModifiedItemAttr()
before attempting to apply it to avoid type error
@codecov-io
Copy link

Codecov Report

Merging #1282 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1282   +/-   ##
=======================================
  Coverage   16.59%   16.59%           
=======================================
  Files        2318     2318           
  Lines       34373    34373           
=======================================
  Hits         5703     5703           
  Misses      28670    28670

@blitzmann blitzmann merged commit 73dfa25 into pyfa-org:master Sep 18, 2017
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.

2 participants