1. Albert-Jan Roskam
  2. savReaderWriter

Pull requests

#3 Merged
Repository
j0z3f
Branch
master
Repository
fomcl
Branch
master

Fixed memoize to prevent currently cached item from getting removed

Author
  1. Jozef Leskovec
Reviewers
Description

There is a small bug in the memoize function that can cause the currently cached item to be removed from the cache. This throws a key error when trying to return that item. This is a fix for that issue.

  • Learn about pull requests

Comments (1)

  1. Albert-Jan Roskam repo owner

    Hi,

    Thank you very much for this correction. The unittests never showed something was wrong, but that's perhaps related to the small test dataset I am using.

    Best wishes, Albert-Jan