Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
EclecticGriffin committed Jul 11, 2024
1 parent 3d06ba8 commit 136d69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interp/src/flatten/structures/environment/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ impl<C: AsRef<Context> + Clone> Simulator<C> {

/// A helper function which inserts indicies for the ref cells and ports
/// used in the invoke statement
fn intialize_ref_cells(
fn initialize_ref_cells(
&mut self,
parent_comp: GlobalCellIdx,
invoke: &Invoke,
Expand Down Expand Up @@ -1319,7 +1319,7 @@ impl<C: AsRef<Context> + Clone> Simulator<C> {
self.env.ports[go] =
PortValue::new_implicit(Value::bit_high());

self.intialize_ref_cells(node.comp, i);
self.initialize_ref_cells(node.comp, i);
}
non_leaf => {
unreachable!("non-leaf node {:?} included in list of leaf nodes. This should never happen, please report it.", non_leaf)
Expand Down

0 comments on commit 136d69d

Please sign in to comment.