Skip to content

Commit

Permalink
update comparison to false
Browse files Browse the repository at this point in the history
  • Loading branch information
jicampos committed Dec 19, 2024
1 parent a314242 commit f60acc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hls4ml/model/profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def _is_registered(self, name: str) -> bool:
return name in self.registered_layers

def _register_layer(self, name: str) -> None:
if self._is_registered(name) == False:
if self._is_registered(name) is False:
self.registered_layers.append(name)

def _is_parameterized(self, module: torch.nn.Module) -> bool:
Expand Down

0 comments on commit f60acc5

Please sign in to comment.