I don't understand this.

the class is called lognorm_gen why do you call the instance of lognorm?
lognorm_gen is the super class