fix #29 cannot delete VCD signals

comparison of objects were done by idendity not .equals()
This commit is contained in:
2020-03-13 16:01:16 +01:00
parent 9f4f71046d
commit 732bd82034
4 changed files with 15 additions and 17 deletions

View File

@ -193,7 +193,7 @@ public class TxStream extends HierNode implements ITxStream<ITxEvent> {
@Override
public Boolean equals(IWaveform other) {
return(other instanceof TxStream && this.getId()==other.getId());
return(other instanceof TxStream && this.getId().equals(other.getId()));
}
}