JuliaStochOpt / ParameterJuMP.jl

A JuMP extension to use parameter in constraints RHS
MIT License
41 stars 5 forks source link

Only add Float64 constraints #80

Closed odow closed 3 years ago

odow commented 3 years ago

Convert constraints to Float64 before adding them.

codecov[bot] commented 3 years ago

Codecov Report

Merging #80 (aff6194) into master (11421e1) will increase coverage by 0.95%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   72.06%   73.01%   +0.95%     
==========================================
  Files           8        8              
  Lines         469      467       -2     
==========================================
+ Hits          338      341       +3     
+ Misses        131      126       -5     
Impacted Files Coverage Δ
src/constraints.jl 73.86% <100.00%> (+0.98%) :arrow_up:
src/macros.jl 93.33% <100.00%> (ø)
src/ParameterJuMP.jl 89.77% <0.00%> (+3.25%) :arrow_up:

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 11421e1...0d0f0c5. Read the comment docs.