mrakitin / SRW

Synchrotron Radiation Workshop
Other
0 stars 1 forks source link

Sirepo - global name 'math' is not defined #16

Closed mrakitin closed 7 years ago

mrakitin commented 7 years ago

For rectangular holes of the mask element in Sirepo there is the following error: math Need to add import math in srwlib.py.

mrakitin commented 7 years ago

Fixed in https://github.com/radiasoft/SRW-light/commit/0928cbc5d837bbc5bfa62d54ffd4dd8dba4ce4c6 and https://github.com/mrakitin/SRW/commit/87a55dc493faf7acc87f060bf7a9e210eb1a99b2.