Skip to content

Commit 7cb2095

Browse files
committed
formatted c++
1 parent 0bdb49f commit 7cb2095

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/libarchfpga/src/arch_util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ void ProcessLutClass(t_pb_type* lut_pb_type) {
624624
lut_pb_type->modes[0].interconnect[0].annotations[i].type = lut_pb_type->annotations[i].type;
625625
lut_pb_type->modes[0].interconnect[0].annotations[i].num_value_prop_pairs = lut_pb_type->annotations[i].num_value_prop_pairs;
626626
lut_pb_type->modes[0].interconnect[0].annotations[i].prop = new int[lut_pb_type->annotations[i].num_value_prop_pairs];
627-
lut_pb_type->modes[0].interconnect[0].annotations[i].value = new char*[lut_pb_type->annotations[i].num_value_prop_pairs];
627+
lut_pb_type->modes[0].interconnect[0].annotations[i].value = new char*[lut_pb_type->annotations[i].num_value_prop_pairs];
628628
for (j = 0; j < lut_pb_type->annotations[i].num_value_prop_pairs; j++) {
629629
lut_pb_type->modes[0].interconnect[0].annotations[i].prop[j] = lut_pb_type->annotations[i].prop[j];
630630
lut_pb_type->modes[0].interconnect[0].annotations[i].value[j] = vtr::strdup(lut_pb_type->annotations[i].value[j]);

libs/libarchfpga/src/read_xml_arch_file.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ void XmlReadArch(const char* ArchFile,
517517
/* This information still needs to be read, even if it is just
518518
* thrown away.
519519
*/
520-
t_power_arch* power_arch_fake = new t_power_arch();
520+
t_power_arch* power_arch_fake = new t_power_arch();
521521
ProcessPower(Next, power_arch_fake, loc_data);
522522
delete power_arch_fake;
523523
}

0 commit comments

Comments
 (0)