Skip to content

Some headers don't compile independently #184

@abmukh

Description

@abmukh

Tried executing a basic try code Try1.cpp in vol_test/examples/Sampling_New:

   #include<stdio.h>
   #include "random_walks.hpp"
   using namespace std;
   int main()
   {
        cout<<"Ran"<<endl;
        return 0;
   } 

Returned the following error (sqrt,pow not a member of std):
cmath_error
Resolved that by using #include<cmath> . However cmath ideally should not have been needed to be included.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions