Explorar el Código

Fix basename in diff method

nagadomi hace 8 años
padre
commit
d4bab939ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/benchmark.lua

+ 1 - 1
tools/benchmark.lua

@@ -551,7 +551,7 @@ local function load_user_data(y_dir, y_file, x_dir, x_file)
       if x and y then
 	 table.insert(test, {y = y,
 			     x = x,
-			     basename = base})
+			     basename = key})
       end
       if opt.show_progress then
 	 xlua.progress(i, #y_files)