Skip to content

Commit

Permalink
Warning correction
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Oct 26, 2023
1 parent e40c5c5 commit ce62e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface/spice/spiceInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ std::pair<Eigen::Quaterniond, Eigen::Matrix3d> computeRotationQuaternionAndRotat
std::vector<double> getBodyProperties(const std::string &body, const std::string &property,
const int maximumNumberOfValues) {
// Delcare variable in which raw result is to be put by Spice function.
double* propertyArray = new double(maximumNumberOfValues);
double* propertyArray = new double[maximumNumberOfValues];

// Call Spice function to retrieve property.
SpiceInt numberOfReturnedParameters;
Expand Down

0 comments on commit ce62e4f

Please sign in to comment.