Fix scalar compound type issue
Merge pull request #352 from andrewcollette/scalar_compound_issue250

Fix scalar compound type issue