Changeset ee5fc99 in sasmodels


Ignore:
Timestamp:
Sep 5, 2018 10:43:12 AM (6 years ago)
Author:
butler
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
917d975
Parents:
eb3eb38
Message:

Fix VR on hollow cylinder

reverted order to retrun wole,part; fixed associated unit test and
verfified that in fact there is zero change in behavior that we need to
worry about for users… that said not clear what the point of VR is but
should we begin using it it is now correct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/hollow_cylinder.py

    r2d81cfe ree5fc99  
    120120    vol_total = pi*router*router*length 
    121121    vol_shell = vol_total - vol_core 
    122     return vol_shell, vol_total 
     122    return vol_total, vol_shell 
    123123 
    124124def random(): 
     
    151151tests = [ 
    152152    [{}, 0.00005, 1764.926], 
    153     [{}, 'VR', 1.8], 
     153    [{}, 'VR', 0.55555556], 
    154154    [{}, 0.001, 1756.76], 
    155155    [{}, (qx, qy), 2.36885476192], 
Note: See TracChangeset for help on using the changeset viewer.