Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Caha committed Nov 6, 2024
1 parent 65a7832 commit f29fe69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mdal/frmts/mdal_xmdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,11 @@ std::unique_ptr< MDAL::Mesh > MDAL::DriverXmdf::load( const std::string &meshFil

if ( vertexDims < 2 || vertexDims > 3 )
{
MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), "Vertices have unsupported number of dimensions " + std::to_string(vertexDims) + " only 2 (X,Y) or 3 (X, Y, Z) dimensions are allowed." );
MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), "Vertices have unsupported number of dimensions " + std::to_string( vertexDims ) + " only 2 (X,Y) or 3 (X, Y, Z) dimensions are allowed." );
return nullptr;
}


std::vector<double> nodesData = nodes.readArrayDouble();

Vertices vertices( nodesRows );
Expand Down

0 comments on commit f29fe69

Please sign in to comment.