mrc-ide / odin.dust

Compile odin to dust
https://mrc-ide.github.io/odin.dust
Other
3 stars 1 forks source link

Basic implementation of float vectors #48

Closed richfitz closed 3 years ago

richfitz commented 3 years ago

This was not that bad in the end; one extra function (user_get_array_value) to avoid a partial template specification. We could possibly implement this by a specialisation on cpp11::as_cpp but one extra small copy feels ok here.

Lots of details changed in user_check_value but the end result is the same.

Fixes #6

codecov[bot] commented 3 years ago

Codecov Report

Merging #48 (433c3c5) into master (307dd8f) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #48   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          507       507           
=========================================
  Hits           507       507           

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 307dd8f...433c3c5. Read the comment docs.