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 compiler warnings #2089

Merged
merged 1 commit into from Feb 12, 2018
Merged

fix compiler warnings #2089

merged 1 commit into from Feb 12, 2018

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Feb 12, 2018

No description provided.

"This $\\alpha$ is chosen as $1$ if $x\\ge -1$, and $\\alpha=-\\frac 1x$ otherwise. (Note that this always leads to "
"$0\\le \\alpha \\le 1$.) On the other hand, we also want to stay away from $1+\\alpha x=0$, and so modify the choice of "
"$\\alpha$ to be $1$ if $x\\ge -c$, and $\\alpha=-\\frac cx$ with a $c$ between zero and one. This way, if $c<1$, we are "
"assured that $1-\\alpha x>c$, i.e., bounded away from zero.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry about this -- I missed it in the review :-(

@bangerth bangerth merged commit 40e4789 into geodynamics:master Feb 12, 2018
@tjhei tjhei deleted the fix_warnings branch February 12, 2018 20:46
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.

None yet

2 participants