Skip to content

Commit

Permalink
nvapi: fix weird code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Apr 21, 2017
1 parent 80c7551 commit 6c9852c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ int nvapi_init()
{
int num_gpus = cuda_num_devices();
NvAPI_Status ret = NvAPI_Initialize();
if (!ret == NVAPI_OK){
if (ret != NVAPI_OK) {
NvAPI_ShortString string;
NvAPI_GetErrorMessage(ret, string);
if (opt_debug)
Expand Down

0 comments on commit 6c9852c

Please sign in to comment.