Skip to content

Commit be47ac8

Browse files
committed
minor fix
1 parent a5ca69e commit be47ac8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ jobs:
4343
sudo apt install libglpk-dev libcurl4-openssl-dev libmpfr-dev libfontconfig1-dev libcairo2-dev #required by some r packages
4444
sudo apt install jags
4545
sudo apt install libminizip-dev # required by freexl
46+
sudo apt install librdata-dev
4647
git clone https://github.com/jasp-stats/freexl.git
4748
cd freexl && ./configure && make && sudo make install
48-
git clone https://github.com/WizardMac/librdata.git
49-
cd librdata && ./autogen.sh && ./configure && make && sudo make install
5049
5150
- name: Install boost
5251
uses: MarkusJx/install-boost@v2.4.4

Desktop/data/importers/rdataimporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ImportDataSet *RDataImporter::loadFile(const std::string &locator, std::function
5353
if (colCount == 0)
5454
throw std::runtime_error(fq(tr("0 valid columns were read from the file, please check your data file.")));
5555

56-
importColumns.reserve(ccolCount);
56+
importColumns.reserve(colCount);
5757

5858
for (size_t colIndex = 0; colIndex < colCount; ++colIndex)
5959
{

0 commit comments

Comments
 (0)