diff --git a/compiler/src/fitter.rs b/compiler/src/fitter.rs index ce7213c..3083268 100644 --- a/compiler/src/fitter.rs +++ b/compiler/src/fitter.rs @@ -303,7 +303,7 @@ pub fn graph_convert(graph: &Graph, pcf: &PcfFile, chip: Chip) -> Result { info!("Found a port, performing port lookup"); let pin = port - .lookup(&pcf) + .lookup(pcf) .ok_or(MappingError::MissingConstraint(port.clone()))?; let olmc_row = chip .pin_to_olmc(pin as usize) @@ -318,15 +318,14 @@ pub fn graph_convert(graph: &Graph, pcf: &PcfFile, chip: Chip) -> Result Result Result Result