Skip to content

Commit

Permalink
Changed type of loop variable in StructuredModel
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 24, 2012
1 parent d50e297 commit cbc0150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/structure/StructuredModel.cpp
Expand Up @@ -159,7 +159,7 @@ float64_t CStructuredModel::risk(float64_t* subgrad, float64_t* W, TMultipleCPin

int32_t dim = this->get_dim();
float64_t R = 0.0;
for (uint32_t i=0; i<dim; i++)
for (int32_t i=0; i<dim; i++)
subgrad[i] = 0;

for (int32_t i=from; i<to; i++)
Expand Down

0 comments on commit cbc0150

Please sign in to comment.