Removed warning when computing structural metrics