martin-pe / maitreya8

Other
109 stars 54 forks source link

Superfluous lines in Ashtakavarga.cpp? #52

Open jamadagni opened 4 years ago

jamadagni commented 4 years ago

https://github.com/martin-pe/maitreya8/blob/720c18c662f795d7331495ef6166c57279da8df9/src/jyotish/Ashtakavarga.cpp#L368

            if ( j == OMOON && k == HOUSE9 ) return 0;     // Moon malefic in  9 from Moon
            if ( j == OMARS && k == HOUSE9 ) return 1;     // Moon benefic in  9 from Mars

I believe these two lines are unnecessary because the array already has these same values. Please check.

Also would be interested in knowing based on which text you have provided the values that differ from Varahamihira, and those for the Ascendant which don't seem to be part of the Ashtavarga Adhyaya of Brihajjataka.

Thanks!