Remove temporary variable that is used only once

This addresses #218.