Skip to content

Commit

Permalink
ONEFOW_CHECK_LEVEL -> ONEFLOW_CHECK_LEVEL (#10542)
Browse files Browse the repository at this point in the history
fix issue: #10541
  • Loading branch information
ShawnXuan committed Jul 11, 2024
1 parent 850b4ad commit 7355fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneflow/core/common/check_level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ limitations under the License.
namespace oneflow {

bool IsEnvEnabled(int32_t check_level) {
static const int env_check_level = ParseIntegerFromEnv("ONEFOW_CHECK_LEVEL", -1);
static const int env_check_level = ParseIntegerFromEnv("ONEFLOW_CHECK_LEVEL", -1);
static const bool env_debug_mode = IsInDebugMode();
return env_debug_mode || env_check_level >= check_level;
}
Expand Down

0 comments on commit 7355fc1

Please sign in to comment.