mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-15 07:48:29 -04:00
fixes a null pointer exception
This commit is contained in:
parent
573a22a412
commit
ba7df6c1d7
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user