Skip to content

Fix the staged-solver fixture for parallel 2D f64 builds - #1061

Open
partaevil wants to merge 1 commit into
dimforge:masterfrom
partaevil:fix/parallel-test-scalar
Open

partaevil wants to merge 1 commit into
dimforge:masterfrom
partaevil:fix/parallel-test-scalar

Conversation

@partaevil

Copy link
Copy Markdown

The 2D staged-solver test constructs a translation with i as f32. In the parallel
rapier2d-f64 library build, the translation requires Real, so the fixture fails to
compile. Cast the index to crate::math::Real, preserving the fixture values while
following the selected scalar precision.

This changes one test expression and no runtime source. The pinned four-crate native
default/parallel library and integration matrices pass with this correction, including
the 2D/f64 parallel target. Those isolated checks also contained a separate origin proposal;
the origin feature is not included here.

cargo test -p rapier2d-f64 --lib --features parallel

Base: 475caa3
Patch-SHA256: befebc76a83bfe734bb8205dd7f2537ad2c6f06cc5262e160b56d1a1729e5b39

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant