浏览代码

Fix basename in diff method

nagadomi 8 年之前
父节点
当前提交
d4bab939ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)