Skip to content

Commit

Permalink
further windows fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust committed Feb 24, 2025
1 parent 7426bd3 commit 4e79820
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace interface1
* - \ref training::interface1::Batch "training::Batch" class
*/
template <typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class Batch : public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
class DAAL_EXPORT Batch : public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
{
public:
typedef linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense> super;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace interface1
* - \ref training::interface1::Batch "training::Batch" class
*/
template <typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class Batch : public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
class DAAL_EXPORT Batch : public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
{
public:
typedef linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense> super;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ class Batch
* - \ref training::interface1::Distributed "training::Distributed" class
*/
template <typename algorithmFPType>
class Batch<algorithmFPType, defaultDense> : public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
class DAAL_EXPORT Batch<algorithmFPType, defaultDense>
: public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
{
public:
typedef algorithms::linear_regression::prediction::Input InputType;
Expand Down Expand Up @@ -141,7 +142,7 @@ class Batch<algorithmFPType, defaultDense> : public linear_model::prediction::Ba

void initialize()
{
super::initialize();
linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>::initialize();
this->_in = &input;
this->_result.reset(new ResultType());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ class Batch
* - \ref training::interface1::Distributed "training::Distributed" class
*/
template <typename algorithmFPType>
class Batch<algorithmFPType, defaultDense> : public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
class DAAL_EXPORT Batch<algorithmFPType, defaultDense>
: public linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense>
{
public:
typedef linear_model::prediction::Batch<algorithmFPType, linear_model::prediction::defaultDense> super;
Expand Down

0 comments on commit 4e79820

Please sign in to comment.