Fixed declaration of get_accuracy