A note on memristors