File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
extensions/CUDA/src/BeamAdapter/CUDA Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 4242
4343using namespace sofa ::gpu::cuda;
4444
45- namespace beamadapter ::cuda
45+ namespace beamadapter
4646{
4747 // template class SOFA_BEAMADAPTER_CUDA_API BeamInterpolation<CudaRigid3fTypes>;
4848 // template class SOFA_BEAMADAPTER_CUDA_API WireBeamInterpolation<CudaRigid3fTypes>;
@@ -67,7 +67,8 @@ namespace beamadapter::cuda
6767#endif
6868
6969using namespace sofa ::gpu::cuda;
70-
70+ namespace cuda
71+ {
7172void registerBeamAdapterCUDAComponents (sofa::core::ObjectFactory* factory)
7273{
7374#ifdef SOFA_GPU_CUDA_DOUBLE
@@ -146,4 +147,6 @@ void registerBeamAdapterCUDAComponents(sofa::core::ObjectFactory* factory)
146147 );
147148}
148149
150+ } // namespace cuda
151+
149152} // namespace beamadapter
You can’t perform that action at this time.
0 commit comments