Skip to content

Commit

Permalink
Apply prepare changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BotellaA committed Aug 17, 2023
1 parent 612f161 commit 319f76f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bindings/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile --pre bindings/python/requirements.in
#
opengeode-core==14.*,>=14.5.0rc8
opengeode-core==14.*,>=14.5.0rc9
# via
# -r bindings/python/requirements.in
# opengeode-geosciences
Expand Down
7 changes: 4 additions & 3 deletions src/bin/geode-inspector-solid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ template < geode::index_t dimension >
void inspect_solid( const geode::SolidMesh< dimension >& solid )
{
const auto verbose = absl::GetFlag( FLAGS_verbose );
absl::InlinedVector< async::task< void >, 7 > tasks;
constexpr auto nb_tasks = 7;
absl::InlinedVector< async::task< void >, nb_tasks > tasks;
const geode::SolidMeshInspector< dimension > inspector{ solid, verbose };

if( absl::GetFlag( FLAGS_adjacency ) )
{
tasks.emplace_back( async::spawn( [&inspector] {
const auto nb = inspector.nb_facets_with_wrong_adjacency();
geode::Logger::info( nb, " facets with wrong adjacency" );
const auto nb_facets = inspector.nb_facets_with_wrong_adjacency();
geode::Logger::info( nb_facets, " facets with wrong adjacency" );
} ) );
}
if( absl::GetFlag( FLAGS_colocation ) )
Expand Down

0 comments on commit 319f76f

Please sign in to comment.