I had previously submitted a pull request to solve this bug (see: https://github.com/insongkim/PanelMatch/pull/119), but I had used the master branch as a base assuming it corresponded to the CRAN version. So I now submit the pull request incorporating the fix to the se_comparison branch, as this appears to be the newest version of the repo.
Bug
Objects created with PanelMatch refined using Mahalanobis distance are missing the max.match.size attribute.
Thanks for catching this! (and especially for making a PR!). We are in the process of making some updates now, so this is well timed and much appreciated. I'll work on integrating this soon.
I had previously submitted a pull request to solve this bug (see: https://github.com/insongkim/PanelMatch/pull/119), but I had used the
master
branch as a base assuming it corresponded to the CRAN version. So I now submit the pull request incorporating the fix to these_comparison
branch, as this appears to be the newest version of the repo.Bug
Objects created with PanelMatch refined using Mahalanobis distance are missing the max.match.size attribute.
prestevez/PanelMatch@mahalanobis-match-size-fix
I noticed that the attribute was not set in the helper function perform_refinement, so this was added toward the end of the function.