Skip to content

Commit

Permalink
corrected a wrongly named field
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jun 26, 2012
1 parent 8023b21 commit e53fe46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/lib/Set.h
Expand Up @@ -187,7 +187,7 @@ template<class T> class CSet: public CSGObject
T* get_element_ptr(int32_t index)
{
if (array->get_element(index)!=NULL)
return &(array->get_element(index)->data);
return &(array->get_element(index)->element);
return NULL;
}

Expand Down

0 comments on commit e53fe46

Please sign in to comment.