Skip to content

Test file criterion wrong #23

@guzhaoyuan

Description

@guzhaoyuan

In the test file, the test criterion is set to
ASSERT_TRUE(M.isApprox(result, 4));

According to Eigen Doc, this means as long as the difference is smaller than 4 times of min(M, result), it will pass. This is wrong. If you change a little bit of force or matrix list, the test still pass.

Normally we should set the criterion to something like 1e-4.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions