Fix an error from the SOFA examples.