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

Parameter Function Bug Fix #144

Merged
merged 1 commit into from
Jun 18, 2021
Merged

Parameter Function Bug Fix #144

merged 1 commit into from
Jun 18, 2021

Conversation

pulsipher
Copy link
Collaborator

Fixed erroneous naming for anonymous parameter functions that use anonymous functions. Moreover, added functionality to allow anonymous functions defined with indexed parameter inputs, for instance:

@parameter_function(model, pfunc[i = 1:2] == (t, x[i]) -> t + x[i])

@pulsipher pulsipher added the bug Something isn't working label Jun 18, 2021
@codecov
Copy link

codecov bot commented Jun 18, 2021

Codecov Report

Merging #144 (e41a58d) into master (032a20e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #144   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files          32       32           
  Lines        6127     6150   +23     
=======================================
+ Hits         6125     6148   +23     
  Misses          2        2           
Impacted Files Coverage Δ
src/macros.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 032a20e...e41a58d. Read the comment docs.

@pulsipher pulsipher added this to the v0.4.1 milestone Jun 18, 2021
@pulsipher pulsipher merged commit c772d3f into master Jun 18, 2021
@pulsipher pulsipher deleted the pfunc_fix branch August 2, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant