Skip to content

Improve complex metric#298

Merged
Grantim merged 2 commits intomasterfrom
Improve_complex_metric
Jul 22, 2022
Merged

Improve complex metric#298
Grantim merged 2 commits intomasterfrom
Improve_complex_metric

Conversation

@Grantim
Copy link
Contributor

@Grantim Grantim commented Jul 22, 2022

No description provided.

@Grantim Grantim requested a review from Fedr July 22, 2022 13:17
return double( sqr( sqr( ( 1.0f - cosAC ) / ( 1.0f + cosAC ) ) ) );
return BadTriangulationMetric;
auto res = double( sqr( sqr( ( 1.0f - cosAC ) / ( 1.0f + cosAC ) ) ) );
if ( res > BadTriangulationMetric || std::isnan( res ) || std::isinf( res ) )
Copy link
Contributor

Choose a reason for hiding this comment

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

let us find where NaNs appear

@Grantim Grantim merged commit bc0266c into master Jul 22, 2022
@Grantim Grantim deleted the Improve_complex_metric branch July 22, 2022 14:20
gzubova-sdc pushed a commit that referenced this pull request Jul 25, 2022
* Improve complex metric

* fix nans

(cherry picked from commit bc0266c)
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.

2 participants