fixed a bug in series expansion
Merge pull request #2 from eunjongkim/master

fixed a bug in series expansion