Corrections in the comments;
Small code fixes
This commit is contained in:
@@ -63,9 +63,9 @@ inline bool json_bool(json_t* object, bool default_value = false) {
|
||||
}
|
||||
}
|
||||
|
||||
// returns a blitz::TinyVector<double, s> with the values from a json_t pointer which points to
|
||||
// a json-array; if the json_t pointer is not an array or the array has a different size than
|
||||
// the specified template parameter s an error is thrown and the execution of the program terminated
|
||||
// return the json-array "vector" in the given json-object object as a blitz::TinyVector
|
||||
// if the "vector" json-array does not exist or does not contain the same number of elements as
|
||||
// specified in the template parameter s an error is thrown
|
||||
template <int s>
|
||||
blitz::TinyVector<double, s> json_blitz_vector(json_t* object) {
|
||||
blitz::TinyVector<double, s> vector;
|
||||
|
||||
Reference in New Issue
Block a user