Skip to content

Commit a9d895e

Browse files
authored
Apply suggestions from code review
1 parent e8a75fd commit a9d895e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Base.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ void BindingBase::SetDataFromArray(BaseData* data, const py::array& value)
245245
return copyScalar<double>(data, nfo, src);
246246
else if(srcinfo.format=="f")
247247
return copyScalar<float>(data, nfo, src);
248-
else{
248+
else
249+
{
249250
std::stringstream tmp;
250251
tmp << "SetAttrFromArray :: unsupported fileformat '" << srcinfo.format << "'" ;
251252
throw std::runtime_error(tmp.str());

0 commit comments

Comments
 (0)