Skip to content

[SOFA.Units] Take input unit ratio into account when creating a scaled unit#631

Open
bakpaul wants to merge 1 commit into
sofa-framework:masterfrom
bakpaul:26_07_enable_creatin_scaled_unit_with_other_scaled_units
Open

[SOFA.Units] Take input unit ratio into account when creating a scaled unit#631
bakpaul wants to merge 1 commit into
sofa-framework:masterfrom
bakpaul:26_07_enable_creatin_scaled_unit_with_other_scaled_units

Conversation

@bakpaul

@bakpaul bakpaul commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

The current implementation fo "ScaledUnits" expect only pure units as input (unit that are not scaled, meaning that they are the SI units). This PR take the current ratio of the input unit into account when creating a scaled unit from another one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant