Skip to content

Commit 3048909

Browse files
added a space before binary operators
1 parent fafdd07 commit 3048909

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vpr/src/base/read_place.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static void read_place_header(std::ifstream& placement_file,
182182
"--verify_file_digests command line option is off.");
183183
}
184184

185-
if ((tokens.size() == 4|| (tokens.size() > 4 && tokens[4][0] == '#'))
185+
if ((tokens.size() == 4 || (tokens.size() > 4 && tokens[4][0] == '#'))
186186
|| (tokens.size() == 5 || (tokens.size() > 5 && tokens[5][0] == '#'))) {
187187
placement_file.seekg(file_pos);
188188
break;

vpr/src/place/place_macro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ int PlaceMacros::find_all_the_macro_(const ClusteredNetlist& clb_nlist,
212212
// blocks in the middle of a chain with internal constant signals are not detected as potential
213213
// head blocks.
214214
if (to_src_or_sink == SINK && to_idirect != OPEN
215-
&& (to_net_id == ClusterNetId::INVALID()|| (is_constant_clb_net(to_net_id, atom_lookup, atom_nlist) && !net_is_driven_by_direct_(to_net_id, clb_nlist)))) {
215+
&& (to_net_id == ClusterNetId::INVALID() || (is_constant_clb_net(to_net_id, atom_lookup, atom_nlist) && !net_is_driven_by_direct_(to_net_id, clb_nlist)))) {
216216
for (int from_iblk_pin = 0; from_iblk_pin < num_blk_pins; from_iblk_pin++) {
217217
int from_physical_pin = get_physical_pin(physical_tile, logical_block, from_iblk_pin);
218218

0 commit comments

Comments
 (0)