Skip to content

Commit 42152d0

Browse files
committed
fix format
1 parent a59febc commit 42152d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libs/librrgraph/src/io/gen/rr_graph_uxsdcxx.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ inline enum_loc_side lex_enum_loc_side(const char *in, bool throw_on_invalid, co
20732073
inline int load_int(const char *in, const std::function<void(const char *)> * report_error){
20742074
int out;
20752075
// global variable, must set to 0 before using it to avoid changed by other errors
2076-
errno = 0;
2076+
errno = 0;
20772077
out = std::strtol(in, NULL, 10);
20782078
if(errno != 0)
20792079
noreturn_report(report_error, ("Invalid value `" + std::string(in) + "` when loading into a int.").c_str());
@@ -2083,7 +2083,7 @@ inline int load_int(const char *in, const std::function<void(const char *)> * re
20832083
inline unsigned int load_unsigned_int(const char *in, const std::function<void(const char *)> * report_error){
20842084
unsigned int out;
20852085
// global variable, must set to 0 before using it to avoid changed by other errors
2086-
errno = 0;
2086+
errno = 0;
20872087
out = std::strtoul(in, NULL, 10);
20882088
if(errno != 0)
20892089
noreturn_report(report_error, ("Invalid value `" + std::string(in) + "` when loading into a unsigned int.").c_str());
@@ -2093,7 +2093,7 @@ inline unsigned int load_unsigned_int(const char *in, const std::function<void(c
20932093
inline float load_float(const char *in, const std::function<void(const char *)> * report_error){
20942094
float out;
20952095
// global variable, must set to 0 before using it to avoid changed by other errors
2096-
errno = 0;
2096+
errno = 0;
20972097
out = std::strtof(in, NULL);
20982098
if(errno != 0)
20992099
noreturn_report(report_error, ("Invalid value `" + std::string(in) + "` when loading into a float.").c_str());

vpr/src/base/gen/vpr_constraints_uxsdcxx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ template<std::size_t N>
427427
/* Internal loading functions, which validate and load a PugiXML DOM tree into memory. */
428428
inline int load_int(const char* in, const std::function<void(const char*)>* report_error) {
429429
int out;
430-
// global variable, must set to 0 before using it to avoid changed by other errors,
430+
// global variable, must set to 0 before using it to avoid changed by other errors
431431
errno = 0;
432432
out = std::strtol(in, NULL, 10);
433433
if (errno != 0)

0 commit comments

Comments
 (0)