Skip to content

Commit 850cac0

Browse files
authored
Revert "Fixes bug where "fitParams" outputs only one value (#101)" (#107)
This reverts commit c7fb185.
1 parent c7fb185 commit 850cac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/rat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ OutputResult OutputResultFromStruct6T(const RAT::struct6_T result)
11451145
output_result.fitNames.append(str);
11461146
}
11471147

1148-
output_result.fitParams = py::array_t<real_T>(result.fitParams.size(0));
1148+
output_result.fitParams = py::array_t<real_T>(result.fitParams.size(1));
11491149
auto buffer = output_result.fitParams.request();
11501150
std::memcpy(buffer.ptr, result.fitParams.data(), output_result.fitParams.size()*sizeof(real_T));
11511151

0 commit comments

Comments
 (0)