diff --git a/extensions/CUDA/src/BeamAdapter/CUDA/CudaInstantiations.cpp b/extensions/CUDA/src/BeamAdapter/CUDA/CudaInstantiations.cpp index b2ca6ea62..bc5f3437f 100644 --- a/extensions/CUDA/src/BeamAdapter/CUDA/CudaInstantiations.cpp +++ b/extensions/CUDA/src/BeamAdapter/CUDA/CudaInstantiations.cpp @@ -42,7 +42,7 @@ using namespace sofa::gpu::cuda; -namespace beamadapter::cuda +namespace beamadapter { // template class SOFA_BEAMADAPTER_CUDA_API BeamInterpolation; // template class SOFA_BEAMADAPTER_CUDA_API WireBeamInterpolation; @@ -67,7 +67,8 @@ namespace beamadapter::cuda #endif using namespace sofa::gpu::cuda; - +namespace cuda +{ void registerBeamAdapterCUDAComponents(sofa::core::ObjectFactory* factory) { #ifdef SOFA_GPU_CUDA_DOUBLE @@ -146,4 +147,6 @@ void registerBeamAdapterCUDAComponents(sofa::core::ObjectFactory* factory) ); } +} // namespace cuda + } // namespace beamadapter