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

FIX no step if condition on denominator is met at first step #521

Merged
merged 1 commit into from
Dec 5, 2017

Conversation

hugtalbot
Copy link
Contributor

@hugtalbot hugtalbot commented Nov 21, 2017

Some scenes where presenting strange behavior : no object moving
with specific numerical settings, and with some others it was
working fine. This was due to a threshold of CG met at first step
on denominator value. Now force at least one step.


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

Some scenes where presenting strange behavior : no object moving
with specific numerical settings, and with some others it was
working fine. This was due to a threshold of CG met at first step
on denominator value. Now force at least one step.
@hugtalbot hugtalbot added pr: fix Fix a bug pr: status to review To notify reviewers to review this pull-request labels Nov 21, 2017
@hugtalbot hugtalbot added this to the v17.12 milestone Nov 21, 2017
@guparan guparan added pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Nov 22, 2017
@damienmarchal
Copy link
Contributor

Last meeting it was considered to be merged...so here it is.

@damienmarchal damienmarchal merged commit 086e03c into sofa-framework:master Dec 5, 2017
damienmarchal added a commit to SofaDefrost/sofa that referenced this pull request Dec 27, 2017
… since PR sofa-framework#521

The more I see PR the more I wonder why the algorithm allow 'den'
to be zero. Shouldn't this issue a warning saying that the scene is
probably broken ?
@hugtalbot hugtalbot deleted the fix_nostep_cg branch January 3, 2018 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: fix Fix a bug pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants