Changeset 2901 for branches/mcstas-1.x/lib/optics/Pol_bender.comp
- Timestamp:
- 07/14/10 15:12:20 (23 months ago)
- Files:
-
- 1 modified
-
branches/mcstas-1.x/lib/optics/Pol_bender.comp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/mcstas-1.x/lib/optics/Pol_bender.comp
r1669 r2901 109 109 SHARE 110 110 %{ 111 #include <assert.h> 111 /* #include <assert.h> - debugging use only */ 112 112 %include "pol-lib" 113 113 %include "ref-lib" … … 439 439 440 440 // check that refWeight is meaningfull 441 assert(weight>=0 && weight<=1);441 /* assert(weight>=0 && weight<=1); */ 442 442 443 443 if(isPolarising) … … 463 463 const double lengthOfGuide = sin(length/radius)*radius; 464 464 const double slitWidth = xw/nslits; 465 assert(lengthOfGuide>0);465 /* assert(lengthOfGuide>0); */ 466 466 double R = 0; /* radius of arc */ 467 467 int nSlitsMax = nslits;
