Skip to content

Commit

Permalink
src/core/perfmodel/perfmodel.c: small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nfurmento committed Aug 13, 2024
1 parent 6b18ff2 commit 14f1626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/perfmodel/perfmodel.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ int _starpu_get_perf_model_bus()
{
struct stat st;
res = stat(path, &st);
if (res != 0 && st.st_size != 0)
if (res == 0 && st.st_size != 0)
{
_perf_model_bus_location = i;
return _perf_model_bus_location;
Expand Down

0 comments on commit 14f1626

Please sign in to comment.