bug fix when df = 0
Created by: ezacharia
Bug fix #67
"GitLab is currently in read-only mode due to CINECA HPC cluster unavailability and ongoing production restoration efforts. Please note that this instance may be out of sync with the latest changes. Write actions are temporarily disabled and only read access is available. EBRAINS and CINECA are actively working to restore full operations. Thank you for your understanding."
Created by: ezacharia
Bug fix #67