fixes a null pointer exception

This commit is contained in:
hneemann 2020-11-21 19:49:01 +01:00
parent 573a22a412
commit ba7df6c1d7

View File

@ -203,6 +203,8 @@ public class HDLNet implements Printable, HasName {
* @return true if this is a clock net
*/
public boolean isClock() {
if (output == null)
return false;
return output.isClock();
}