Skip to content

Parameter Function Bug Fix#144

Merged
pulsipher merged 1 commit intomasterfrom
pfunc_fix
Jun 18, 2021
Merged

Parameter Function Bug Fix#144
pulsipher merged 1 commit intomasterfrom
pfunc_fix

Conversation

@pulsipher
Copy link
Copy Markdown
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
Copy Markdown

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