Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test cases of the angle difference #8

Open
cpanse opened this issue Mar 21, 2018 · 0 comments
Open

add test cases of the angle difference #8

cpanse opened this issue Mar 21, 2018 · 0 comments

Comments

@cpanse
Copy link
Owner

cpanse commented Mar 21, 2018

problem recmap (<0.5.29):

recmap_debug_rpe

bugfix


        if ((gammaM < 0 && gammaC > 0) || ( gammaM > 0 && gammaC < 0))
          delta = fabs(gammaC + gammaM) / C.size();
        else
          delta = fabs(gammaC - gammaM) / C.size();

testthat

R> set.seed(1); (sapply(1:10, function(i){summary(recmap(checkerboard(8)[sample(64,64),]))[4,]}))
 [1] 0.25 0.23 0.11 0.18 0.26 0.24 0.28 0.30 0.34 0.25
@cpanse cpanse closed this as completed Mar 21, 2018
@cpanse cpanse reopened this Mar 21, 2018
@cpanse cpanse changed the title do testing angle difference add testcase of angle difference Mar 25, 2018
@cpanse cpanse changed the title add testcase of angle difference add test cases of the angle difference Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant