Minor fix to beam_fit (commented line was uncommented).
Signed-off-by: kartographer <deca57034@gmail.com>