thomas-rasmussen / sas_macros

SAS macros
Creative Commons Zero v1.0 Universal
5 stars 4 forks source link

ps_match: matching without replacement not working as intended #22

Closed thomas-rasmussen closed 4 years ago

thomas-rasmussen commented 4 years ago

The problem is this line: https://github.com/thomas-rasmussen/sas_macros/blob/52df30a3e613a9e4eaf514fef1ed29fd29ddfbaf/ps_match.sas#L669 it should be: rc1 = h.remove(key: closest_id);

This was not detected by the tests (...), so they clearly need to be improved.

thomas-rasmussen commented 4 years ago

Fixed in version 0.1.2