Changeset 2433 in Sophya for trunk/SophyaLib/SkyMap/localmap.h
- Timestamp:
- Sep 17, 2003, 11:59:59 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/localmap.h
r2290 r2433 348 348 inline LocalMap<T> operator / (const LocalMap<T>& a,const LocalMap<T>& b) 349 349 { LocalMap<T> result; result.SetTemp(true); 350 if (b.IsTemp()) { result.Share(b); result.DivElt(a); } 351 else { result.CloneOrShare(a); result.DivElt(b); } 350 result.CloneOrShare(a); result.DivElt(b); 352 351 return result; } 353 352
Note:
See TracChangeset
for help on using the changeset viewer.